Design Parking Lot (OOD)
Design a parking lot system with these core operations: park(vehicle) unpark(licenseplate) checkcar(licenseplate) The main constraint is the spot compatibility rule: a MOTORCYCLE spot can only park a motorcycle a REGULAR spot can park either a motorcycle
Check more interview questions and experiences about Uber
