A classic Low-Level Design (LLD) problem focusing on Object-Oriented Principles.
Core Classes
- ParkingLot: Singleton class managing Floors.
- Floor: Collection of ParkingSpots.
- ParkingSpot: Typed (Small, Medium, Large).
- Vehicle: Abstract base class for Car, Truck, Bike.
Pattern: Use the Strategy Pattern for varying pricing models (hourly, flat, member-based).