LLD - Design — Parking Lot System
Given the enum
SpotType { COMPACT, LARGE, HANDICAPPED } and a function that assigns spots based on vehicle type, what will be the output if a VehicleType.TRUCK is assigned a SpotType.COMPACT?