Dell Technologies interview question

OOP problem design for parking