No video

Design a Parking lot | Systems Design Interview question

  Рет қаралды 14,785

code Tree

code Tree

3 жыл бұрын

Design a Parking lot is a common systems design interview question asked during interviews of SDE roles at Facebook, Google, Amazon etc. The main skills what an interviewer is looking for are your requirement gathering skill and OOP concepts.

Пікірлер: 13
@neerajagarwal3176
@neerajagarwal3176 2 жыл бұрын
great work. Please upload more videos like this.
@JITHENDRAREDDYK
@JITHENDRAREDDYK 2 жыл бұрын
I’m the 100th subscriber! Yayyyyyyy🙌
@codeTreeMS
@codeTreeMS 2 жыл бұрын
yes indeed !! Than you 😊
@sivr3352
@sivr3352 2 жыл бұрын
Wonderful
@shobhittrivedi435
@shobhittrivedi435 2 жыл бұрын
The number of min heaps would be same as number of entrances. However, the nodes (spots) considered for min heaps should be disjointed - no 2 min heap to have same spot else there would be an overhead in maintaining. However doing so has another observation, if one entrance exhausts all the spots, it would then need to refer the min heap of the closest entrance. Thoughts?
@asmasadat8082
@asmasadat8082 3 жыл бұрын
great work!
@codeTreeMS
@codeTreeMS 3 жыл бұрын
Thanks for the support , would try to make even more informative videos.
@sankalpjain8192
@sankalpjain8192 9 ай бұрын
Hey i have a question like why there is an association between parking spots and vehicle, you said that association means class A calls class B and this means that class parking spot is calling class vehicle ..can you explain why this is happening and why we have made child classes for parking spots like if this is required than vehicle class should not be required and if vehicles is required than this should not be, please explain in detail.
@vyczn
@vyczn 2 жыл бұрын
Thanks for your solution. Regarding the presentation, can't you just type stuff instead of handwriting, because latter looks super tedious for you and incomprehensible for viewers.
@codeTreeMS
@codeTreeMS 2 жыл бұрын
sorry for those scribbled text ! I was new to digital pens. But you are right , I would make sure the text are much cleaner/typed. Thanks a lot for the suggestion.
@ameerm7894
@ameerm7894 2 жыл бұрын
This design is not fully comply with OOD principles. Also no benifits for having Vehicle classes in the parking lot system design.
@codeTreeMS
@codeTreeMS 2 жыл бұрын
vehicles class might help keep vehicle related informations, probably they are required for billing etc. share your thoughts ? it helps make future videos better.
@rakeshramesh9248
@rakeshramesh9248 2 жыл бұрын
what do you think is missing in terms OOD principles? I think you are referring to design patterns.