[ OK ] 538 — full content available
[ INFO ] category: System Design difficulty: medium freq: high first seen: 2026-01-14
[MEDIUM][SYSTEM DESIGN][HIGH]OOP DesignState ManagementDatabasebackend
$ cat problem.md
Design a parking lot system with multiple levels and spot sizes.
Source: LeetCode Discuss - JP Morgan SE3 Interview Experience
Requirements:
- Multiple levels with different spot sizes (compact, regular, large)
- Track available spots per level and size
- Assign appropriate spots based on vehicle size
- Calculate parking fees based on duration
- Handle entry and exit operations
Vehicle Types:
- Motorcycle: Can park in any spot
- Car: Can park in compact (1 spot), regular (1 spot), or large (1 spot)
- Bus: Requires 5 consecutive regular spots
Discussion Points:
- How would you handle concurrent access?
- How would you persist data?
- How would you scale to multiple parking lots?
- How would you implement a reservation system?