Design a simple parking lot
We can use array to store the status of the parking lot. We just need to keep track of where are the empty spaces. Implemetation Time complexity O(n) and Space O(n)
Stores the data and not meant to be directly used
Uses parking lot to keep user understandable data
./main.rbuses Mini tests
ruby -Ilib:test tests/test_parking_array.rb
ruby -Ilib:test tests/test_parking_zone.rb