Перейти к содержимому

System Design Parking lot | Object Oriented Design | Code Implementation | The Tech Granth

The Tech Granth

0:00 / 0:00

System Design Parking lot | Object Oriented Design | Code Implementation | The Tech Granth

61 353 просмотра · 5 лет назад
The Tech Granth
22,4 тыс. подписчиков
61 353 просмотра · 5 лет назад
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/thetechg... system design:    • System Design | Distributed Cache | LRU Im...   DS for beginners:    • Arrays Data Structures | Data Structures f...   leetcode solutions:    • Leetcode 84 | Largest Rectangle in Histogr...   github: https://github.com/TheTechGranth/theg... facebook group :   / 741317603336313   twitter:   / granthtech