linkjobai / Object-Oriented Design Interview: Parking Lot
0 likes
0 forks
1 files
Last active 1 day ago
Interview prep notes
Object-Oriented Design Interview: Parking Lot
"Design a parking lot" is the most common object-oriented design (OOD) question. The interviewer is checking whether you can turn vague requirements into clean classes and responsibilities, not whether you know a single right answer.
Clarify first
- Multiple floors? Spot sizes (motorcycle, compact, large, EV charging)?
- Entry and exit gates, tickets, payment (hourly rate, flat fee)?
- Should it show free spots per floor on a display board?
Newer
Older