Amazon interview question

Parking structure sys design question.