Oracle interview question

Parking lot data structure question