educative.io

Where are the parking spots stored?

I see that in the old course they were stored in a ParkingFloor class, but here it is removed and seems like the collections were removed with it


Course: Grokking the Low Level Design Interview Using OOD Principles - Learn Interactively
Lesson: Code for the Parking Lot - Grokking the Low Level Design Interview Using OOD Principles

Hi @Oleksiy,

To keep the example simple and understandable for our learners, we have not considered the parking floors in our requirements to design a parking lot system. Although, the ParkingFloor has been added in the additional requirements section. We assume that the interviewer can introduce some additional requirements in the parking lot, or they can ask some follow-up questions, such as Multiple Floors. To answer such questions, we have added an “Additional requirements” section in all our class diagram lessons.

I hope this helps!
Happy Learning :slight_smile: