Design a Parking Lot Management System
Design a parking lot management system using the coding language of your choice. The code is expected to be syntactically correct, although it will not be executed.
Asked at:
Amazon
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late December, 2025
Amazon
Mid-level
Mid March, 2025
Microsoft
Mid-level
parkingLot with 10k spots. Multiple entries and exits. Generate a function getTicket() such that it returns the parking spot location which is nearest/closest to a given entry.
Early November, 2024
Amazon
Mid-level
Design a parking lot using the coding language of your choice. Code wasn't run, but was expected to be syntactically correct.
Your account is free and you can post anonymously if you choose.