System Design | #SystemDesign :
Parking lot system design is a simple object oriented design question asked in Tech Interview by companies like Google, Microsoft, Amazon etc.
Complexity in design happens when we increase the number of entry and exit gates because that adds up the problem on concurrency and race condition.
Complexity gets increased with the category of parking vehicle as well, incase we have to classify them as hatchback, SUV, Sedan, bus etc.
In this video I have covered the following scenarios:
- Multilevel Parking lot
- Multiple category of parking space
- Multiple entry and exit (adds an interesting case of concurrency)
- Should not allow more vehicles than allocated space for each category
- Charge should be hourly basis
- Display available number of parking for each category at entry itself
Complete code is added in my github link mentioned below.
You can buy us a coffee at : https://www.buymeacoffee.com/thetechgranth
system design: https://youtu.be/jzPSuBiidF4
DS for beginners: https://youtu.be/cxjWjBPPbzI
leetcode solutions: https://youtu.be/jVN6Mq0mXJo
github: https://github.com/TheTechGranth/thegranths
facebook group : https://www.facebook.com/groups/741317603336313/
twitter: https://twitter.com/GranthTech