Parking Lot System Design Interview Question and Answer in Java| Object Oriented Design| Code Decode

  Рет қаралды 55,109

Code Decode

Code Decode

Күн бұрын

Пікірлер: 96
@karthikeyanrm3446
@karthikeyanrm3446 3 жыл бұрын
I cleared an interview yesterday because of the contents in Code decode - abstraction, interface, Microservices, Hashmap working, overloading, upcasting etc. - gave answers which code decode taught for all those questions. Infinite loop thank you 🙂
@CodeDecode
@CodeDecode 3 жыл бұрын
This means a lot to us Karthikeyan. We are so glad to hear this. Well deserved Man 🎊🎊🎊🎊🎉🎉. Keep learning keep shining ⭐✨⭐✨⭐✨
@rbrohitbisht
@rbrohitbisht 2 жыл бұрын
This is so helpful. There is a corrections, instead of matching the "vehicle type", it should be "parking lot type" in function unParkVehicle() if(parkingSpot.getType().equals(ParkingSpotType.LARGE/COMPACT/BIKE)){.....} as a car can be parked at a Large spot and when removed, it should be removed from the Large spot. Test like this, Add car1, car2, car3, and car4 (All will be added). Not remove car1, car2, car3, or car4. For the last 2 it will show, "Car not parked here" or what you mentioned in the else block.
@PkSam07
@PkSam07 11 ай бұрын
Correct. I was also going to mention the same. Then saw your comment👍👍
@ILuvBilli
@ILuvBilli 2 жыл бұрын
Superb explanation, I had watched many video on this topic but first time I understand this because the teaching style is very simple and basic. Best tutorial on parking lot on KZbin. Plz make on Ola, tweeter, irctc, bookmyShow also
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure it's in pipeline 🙂👍thanks a lot 👍👍
@anirbanhaldar4640
@anirbanhaldar4640 3 жыл бұрын
I don't know what to say... It is simply awesome ...The way you explained..why you need this...that... that matters the most...Thank you Thank you Thank you!
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks a ton for supporting us Anirban 🙂👍
@AllinOne-et2on
@AllinOne-et2on 3 жыл бұрын
You are coming for us..whenever we requested and providing everything. May be god also get some delay on some situations but you are't .. 🔥🔥
@CodeDecode
@CodeDecode 3 жыл бұрын
This means a lot to us 🙏🙏. All our efforts proved so worth it after seeing this comment. You actually made our day. 🙏🙏. Thanks a ton Man 🙂🙂👍👍
@ayushdashore3747
@ayushdashore3747 Жыл бұрын
You have missed one case while unparking the vehicle i.e suppose the bike is parked in compact section then while unparking we need to check first that it is parked in compact parking slot or bike parking according to which we will increment the value of free compact parking spot or free bike parking spot or free truck spot.
@rekham4583
@rekham4583 2 жыл бұрын
Greta explanation!!! its very clear and crisp. Please upload more interview related questions on system design it will be very helpful for us. Thank you!!
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Rekha. We will do that🙂👍
@prashanttiwari120
@prashanttiwari120 2 жыл бұрын
Excellent Video Clear and Crisp Explanation . I am sure you would have cleared all of your interviews very easily :)
@CodeDecode
@CodeDecode 2 жыл бұрын
Hehe. Thanks Prashant. We prepare others for interviews so we do it every day. its in a flow for us.
@mahendramungamuru9500
@mahendramungamuru9500 3 жыл бұрын
Superb please continue to make design patterns like this ....this way we can learn concepts in depth ...thank you so much for making such a wonderful videos 🤩🤩🤩
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Mahendra. Sure we will continue with the same
@vengateshm2122
@vengateshm2122 3 жыл бұрын
Excellent keep doing great stuff. Thanks for contributing to the community. Please improve the infographic in shorts so that it can be perceived well. A picture worth more than 100 words.
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Vengatesh, we will do that 🙂👍
@yashaggarwal7805
@yashaggarwal7805 3 жыл бұрын
Thank you so much for your teachings.Could you please plan more sessions on some complex system design. It would help us alot .Thanks once again !!
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Yash. We will do that for sure, it's scheduled after microservices, docker and cloud playlist. Do u need anything specific that we should focus on?
@indranilchakraborty5949
@indranilchakraborty5949 2 ай бұрын
one thing u missed is the scalability. i think we need to give scalable approach including design patterns principles. btw thank u a bunch
@Akashsingh-kw2qo
@Akashsingh-kw2qo 3 жыл бұрын
Hi Ma'am, your videos have been very useful to us. Please create videos on Data structures also.
@CodeDecode
@CodeDecode 3 жыл бұрын
sure akash we will create it soon
@chhaviagarwal7514
@chhaviagarwal7514 3 жыл бұрын
Hey, you are doing a great job. Your videos are helping a lot. Can you please make more videos on these low-level design questions?
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Chhavi, we will do that👍🙂
@vinamrasangal8436
@vinamrasangal8436 7 ай бұрын
ma'am ur voice so soothing!!
@bikashjyoti97
@bikashjyoti97 3 жыл бұрын
Why this channel has only 37k subscribers... Please everyone do subscribe this channel. She or they needs our support. And Thankyou Ma'am for the videos. You are giving so much consistent efforts for us.
@agraharisunil2
@agraharisunil2 2 жыл бұрын
Thanks for creating such great videos, These are very helpful
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Sunil 🙂👍
@dpkpk1573
@dpkpk1573 3 жыл бұрын
Nice explanation yes please make videos on OOD patterns....
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure 🙂👍
@hareeshjp
@hareeshjp Жыл бұрын
explained concepts very clear, Thank you very much. Could you please create on more videos on similar system design like Cab booking for a company where employee book a seat or cancel a seat using core data structure like Map enum.. and provide REST API to get list of cabs with seating capacity and seat booking API and Seat cancel API.
@narendrakumariitb
@narendrakumariitb 3 жыл бұрын
Thank you 🙏 very easy to understand
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Narendra 🙂👍
@dinanekhai79
@dinanekhai79 2 жыл бұрын
Love it ! Thanks a lot
@CodeDecode
@CodeDecode 2 жыл бұрын
you're welcome
@funforkids9927
@funforkids9927 3 жыл бұрын
superb video👍
@manaswineec3331
@manaswineec3331 3 жыл бұрын
Mam❤️ thankyou so much..please make more oops design programs 🤩❣️thanks a ton
@CodeDecode
@CodeDecode 3 жыл бұрын
🙂🙂👍👍sure Manaswinee
@vinayakjondhale6701
@vinayakjondhale6701 8 ай бұрын
while unparking we need to check type of spot in which vehicle parked. If car is parked in large spot then we need to remove from large spot list and not from compact spot list.
@sivavishnugurusamy2385
@sivavishnugurusamy2385 Жыл бұрын
Very Helpful
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@shubhisharma3790
@shubhisharma3790 3 жыл бұрын
Very nicely explained.....
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Shubhi 🙂👍
@Kumar-up2lj
@Kumar-up2lj 4 ай бұрын
thanks you helped me
@karthikeyanrm3446
@karthikeyanrm3446 11 ай бұрын
Is it possible to continue this system design series please .? A kind request.
@soulfulGirl_
@soulfulGirl_ Жыл бұрын
Can you please share the code of this or ur git url please I dnt see it attached . Your doing amazing job kind of inspiration to all women out there 🎉❤
@AnkitKumar-ij9sx
@AnkitKumar-ij9sx 8 ай бұрын
Thanks for the this😀
@CodeDecode
@CodeDecode 8 ай бұрын
Welcome 😊
@karthikeyanrm3446
@karthikeyanrm3446 3 жыл бұрын
Microservices interview questions please and then come back to Object Oriented design 👍
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Karthikeyan 🙂👍
@sravanz1
@sravanz1 3 жыл бұрын
You might want to add class for payments and include calls related making payments when park / unpark a vehicle
@CodeDecode
@CodeDecode 3 жыл бұрын
This is a very high level design Sravan. We can do 1000s of things in this design to make it more low level design 👍👍🙂🙂
@UTUBDZ
@UTUBDZ 3 жыл бұрын
Very good explanation, thanks. Would you please share your experience or resources about live Java code correction and optimization ?
@sunilsarode152
@sunilsarode152 4 ай бұрын
Thanks a lot.
@saib3108
@saib3108 3 жыл бұрын
Good job
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Sai
@chaitanyakumar7119
@chaitanyakumar7119 3 жыл бұрын
Looking for a playlist of data structures and algorithms videos… Aws interview questions.. Unit testing & integration testing interview questions..
@CodeDecode
@CodeDecode 3 жыл бұрын
sure chaitanya slowly and steadily we will create videos on this topics
@saikumarsaladi3519
@saikumarsaladi3519 2 жыл бұрын
It would be helpful if there is any documentation or notes for all the topics u have covered
@malaiarasi4400
@malaiarasi4400 3 жыл бұрын
Hello mam, one of inter view questions.. Not sure how we can do this. If the support some data is coming via rest api which we have to get it in our database.. We use get method and do such things.. If suppose the column name in coming in data is different from column that we have in database.. How we can correlate and arrange with annotations
@manognajoshik8465
@manognajoshik8465 2 жыл бұрын
If you are using hibernate to persist the object data, you can specify it using @ColumnName annotation. Please let me know if I understood your question properly.
@sankalpbarjatiya7866
@sankalpbarjatiya7866 9 күн бұрын
Isn’t it instead of enum we should create interfaces so that if in future suppose a new category comes up eg: electric so we make a new class for electric parking spot that is a child of vechile type interface
@vivekbaraskar4424
@vivekbaraskar4424 3 жыл бұрын
Could you please make java interview questions for 3 years and 5 years plus categories?
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Vivek we will create separate videos for this
@chaitutom5789
@chaitutom5789 3 жыл бұрын
Make video on arrays and exceptions full length very deepdive and string concepts
@CodeDecode
@CodeDecode 3 жыл бұрын
Nice topics Chaitu 🙂👍. We will surely do that
@sonalitribhuvan3409
@sonalitribhuvan3409 10 ай бұрын
Do we need to code this much in LLD intrw ?
@rishiraj2548
@rishiraj2548 Жыл бұрын
🎉🎉
@CodeDecode
@CodeDecode Жыл бұрын
👍👍😊😊
@shenth27
@shenth27 2 жыл бұрын
Do we care about vehicle types here?
@sarvinderkumar2562
@sarvinderkumar2562 3 жыл бұрын
Could you pls create a system design like IRCTC ...
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Sarvinder 👍🙂
@krishnakiran2696
@krishnakiran2696 2 жыл бұрын
Hi Madam, I think there is a small bug in your code. In unParkVehicle method, If conditions, We need to check for vehicle.getParkingSpot().getParkingSpotType() . As we are allowing BIKES can get parked in BIKE, COMPACT and LARGE
@yuvasmec
@yuvasmec 3 жыл бұрын
Can you post video of mini application using spring boot
@CodeDecode
@CodeDecode 3 жыл бұрын
kzbin.info/www/bejne/g4ewdpd8lMlpiZY
@apoo_572
@apoo_572 2 ай бұрын
how can you remove vehicle from the list when it has parking spots objects
@letmeseeu
@letmeseeu Жыл бұрын
why do you add spots into the list when parking. , but when you unpark you remove vehicles from the list instead?
@nirjhariniparhi
@nirjhariniparhi 3 жыл бұрын
♥️♥️♥️♥️
@nirjhariniparhi
@nirjhariniparhi 3 жыл бұрын
Really very nice explanation
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks nirjharini
@mansibora8786
@mansibora8786 6 ай бұрын
@Code Decode can you please provide the code too?
@aniksinha2081
@aniksinha2081 9 ай бұрын
Could you post this code link?
@princekirar4890
@princekirar4890 4 ай бұрын
Respect++
@CodeDecode
@CodeDecode 4 ай бұрын
Thanks
@rajeshmanchow
@rajeshmanchow 3 жыл бұрын
please attach documents also. so that we can refer that
@akarshjaiswal1622
@akarshjaiswal1622 2 жыл бұрын
14:53
@sarojsahoo8763
@sarojsahoo8763 Жыл бұрын
System will be failed if there are trucks/cars are waiting to be parked where bikes have taken there space
@chaitutom5789
@chaitutom5789 3 жыл бұрын
Mam where are you..i am badly waiting due to your non presence of videos i had stopped learning...pls upload i am mad fan of you...
@CodeDecode
@CodeDecode 3 жыл бұрын
We apologize for delayed videos. We will try to upload videos on frequent basis Chaitu. 🙂. Thanks for your bearing with us with loads of patience. Appreciated 😊
@skyridder8047
@skyridder8047 Жыл бұрын
why don't you provide repository location?
@mrrishiraj88
@mrrishiraj88 Жыл бұрын
👍🙏
@sakshisaloni4799
@sakshisaloni4799 3 жыл бұрын
can u give github link
@pradipkangale8505
@pradipkangale8505 2 жыл бұрын
Please give me the code
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Design A Parking Garage | Google SWE Teaches Low Level Design Episode 4
15:48
Beginner System Design Interview: Design Bitly w/ a Ex-Meta Staff Engineer
59:30
Hello Interview - SWE Interview Preparation
Рет қаралды 39 М.
Amazon System Design Interview: Design Parking Garage
29:59
Exponent
Рет қаралды 1,5 МЛН
This is the Only Right Way to Write React clean-code - SOLID
18:23
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,2 МЛН
How to Crack Any System Design Interview
8:19
ByteByteGo
Рет қаралды 494 М.
System Design Interview: A Step-By-Step Guide
9:54
ByteByteGo
Рет қаралды 783 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.