SpinTheMic
Pro

Interview practice question

Low-level design of a parking lot

Backend Engineering · OOP and Design Patterns · Experienced

Design the classes for a parking lot system with multiple floors, different spot sizes and ticketing.

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • ParkingLot, Floor, ParkingSpot (types by size).
  • Vehicle hierarchy or type enum.
  • Ticket with entry time, spot.
  • Spot allocation strategy.
  • Pricing strategy; concurrency on allocation.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics