Search
⌘K

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

Amazon

Microsoft

Microsoft

Morgan Stanley

Morgan Stanley


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Early January, 2026

Morgan Stanley

Morgan Stanley

Mid-level

Late December, 2025

Amazon

Amazon

Mid-level

Mid March, 2025

Microsoft

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.