OOP & Design Patterns - Design a Parking Lot - LLD with OOP (Classes, Patterns, Extensibility)
Consider a parking lot system where vehicles of different sizes (motorcycle, car, bus) are modeled using inheritance. When a bus arrives, which sequence of method calls correctly determines if a suitable spot is available, assuming polymorphism is used?
