You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Design a car parking system that could support the following features:
1. Customers are given a ticket that they can use to redeem to get their car back.
2. Parking spots come in various sizes.
3. Cars may vary in sizes too according to their model (suv, sedan, hatchback etc.)
4. A car can be parked in a parking spot equal to or bigger in size (ex hatchback can be parked in hatchback as well as sedan parking)
Self imposed requirements and assumptions:
Requirements:
a. All cars coming in goes out on the same day.
b. Building where it's being parked can have multiple floors, sections
c. Showing the position of the incoming car, where to park it.
d. 3 filling strategies:
i. Parking lot is filled from equal to bigger size each floor/section
ii. Parking lot is filled from equal to bigger size each building.
iii. Parking lot is filled from equal to bigger size upto a distance from a gate
e. Can have multiple entry/exit gates.
f. Cost Calculation Strategy