Amazon Interview Question

Parking lots low level design problem