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
Morgan Stanley
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early January, 2026
Morgan Stanley
Mid-level
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.
Your account is free and you can post anonymously if you choose.