🅿️Parking Lot System
0 nodes · 0 edgesHint 1 — locked
Hint 2 — locked
Hint 3 — locked
🅿️
Parking Lot System
● Beginner15–20 min
Problem
Build a system for a multi-level parking lot. Vehicles enter and exit; the system tracks available spots in real-time, assigns the nearest available spot, and processes payments on exit. Multiple parking lots may be managed by the same platform.
Functional Requirements
- Track available spots by type (compact, large, handicapped, motorcycle)
- Assign nearest available spot when a vehicle enters
- Calculate fee based on duration and vehicle type on exit
- Support multiple lots with independent spot inventories
- Generate receipts and support online pre-booking
Non-Functional
- 1,000 concurrent vehicles per lot, up to 500 lots
- < 200 ms spot assignment latency
- 99.9% availability — entry/exit must never be blocked
- Spot state must be consistent — no double-assignments
Prerequisites
REST APIsRelational databasesCaching basics
🅿️
Design your Parking Lot System
Drag components from the Brief panel → switch to Components tab
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
UML
15
Needs Work
Click a dimension to see what's missing. Score updates as you design.
Speed
RPS
Hit Play to start simulation00:00