Amazon interview question

Parking lot problem design.