Low Level Designing (LLD -2) - Car Rental System | ZoomCar.com | Revv | Drivezy

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 42

  • @sambitbiswal1175
    @sambitbiswal1175 8 місяців тому +1

    the fact that you didnt overcomplicated this is amazing thanks for this effort.

  • @YATHARTH304
    @YATHARTH304 6 місяців тому +3

    Very well design of car rental system. I want to add one point to correct as In the carrentalsystem class the attribute should be Hashmap map. Correct me if I am wrong. Thanks

    • @InterviewWithBunny
      @InterviewWithBunny  4 місяці тому

      Yes you can do it. Obviously, we need a map to locate the list of cars

  • @anilchaudhry804
    @anilchaudhry804 2 роки тому +1

    i think this is a pretty good design. One could comfortably clear the interviews with such a design

    • @InterviewWithBunny
      @InterviewWithBunny  2 роки тому

      Glad it was helpful! Please share the video in your network, if you have found it useful

  • @VishalKr-m3m
    @VishalKr-m3m 11 місяців тому

    best LLD Video I can find in internet.
    One request can you please create a video explaining how can we handle booking for a date range in above system
    Like right now this system can handle booking for a particular date but it should allow user to reserve for a date range( future booking can also be done) and how a car can be found as available for a particular date range as we are allowing future date bookings also.

  • @rayventhakur3262
    @rayventhakur3262 Рік тому +3

    Nice design
    Want to add more points which are.
    You can add one more attribute which is typeofGear(Automatic or Gear)
    +
    Class Cancel { carID, UserID, Carlocation, transactionID, refundParameters. ....}
    So also you can have the options like delivery type, insurance safety additional payment and many more
    Thanks for the information

  • @mrgupta4917
    @mrgupta4917 Рік тому +1

    Good design but you have not included booking date in your design. Status can't be put inside Car because a Car might be booked for date1 but available on date2.

  • @prakharmuley2164
    @prakharmuley2164 2 місяці тому

    Hey, Hashmap can have list of cars as values which could be better approach. Anyways good explaination

  • @nikhilkumar-ey9xd
    @nikhilkumar-ey9xd 2 роки тому +1

    Nice Design. Can you please add a video the low level design of payment service or point me to a good resource for same

  • @jpakash1999
    @jpakash1999 2 місяці тому

    Car should be booked against a date and time right, we didnt consider that?

  • @MrArtod
    @MrArtod 10 місяців тому

    what if we want to add another kind of search? In this case we would need to modify CarReservationSystem which is violate open-close principle. I think it would be better to add a class CarCatalog and pass this object to a all kind of SearcBy... class

  • @AmitKumar-wd4fx
    @AmitKumar-wd4fx 9 місяців тому

    you have added the status inside the Car class. This will only be good if we have only one car of each type. But we know assuming that would be wrong. We have many quantities of the same car. If you mark the car status as occupied or reserved for a specific car, then this will be the status of all the other quantities of that specific car. Do I make sense?

    • @InterviewWithBunny
      @InterviewWithBunny  9 місяців тому

      No, that is an instance of car, each car will have their own type and status

  • @Arun-zy8wi
    @Arun-zy8wi Рік тому

    Could you please mention which software or platform you are using to draw and write at same time.

  • @akashgoyal8141
    @akashgoyal8141 9 місяців тому

    If one car is booked for particular date, user can book car for another date,how u will manage this?

  • @gurnamansingh479
    @gurnamansingh479 2 роки тому

    Where are you working now a days and what is your tech stack? Is it still spring boot and react?

    • @InterviewWithBunny
      @InterviewWithBunny  2 роки тому

      Walmart. Same but now more incline towards backend. But still spring boot

    • @utkarsh_108
      @utkarsh_108 2 роки тому

      @@InterviewWithBunny springboot vs node.js which has better scope in future? can you tell in what all frameworks do people do backend at walmart?

  • @gauravkungwani
    @gauravkungwani 6 місяців тому

    “Smart enough” is common

  • @AYUSHKumar-ru4fz
    @AYUSHKumar-ru4fz 2 роки тому

    very helpful video

  • @samithbharadwaj3540
    @samithbharadwaj3540 2 роки тому

    Why haven't you included the pickup date and drop off date for a car? The status on vehicle does signify when the car was booked. It just says it's booked. Car might be booked next Monday, but it's still available for use today(Thursday) to Sunday.

    • @InterviewWithBunny
      @InterviewWithBunny  2 роки тому

      yes, what u can do for that requirement, is create another entity called as Schedule as put that entry in car class. Refer: Flight booking Low Level Design

    • @nainaLuvsMusic
      @nainaLuvsMusic Рік тому

      @@InterviewWithBunny Without the "Schedule" or "Calendar" class, this design does not make sense.

  • @aayushfarkya5440
    @aayushfarkya5440 Рік тому

    I have a query which list out all available cars from 1st to 8th August for city Mumbai and vehicle type is Sedan , How can we write a query can u please write based on your class diagram

    • @ainijcreations8
      @ainijcreations8 Рік тому

      Select car_name from table_name where (available_date between (1august, 8august) ) and (city = "mumbai" and vehicle_type = "sedan")

  • @shasha6538
    @shasha6538 2 роки тому

    if I don't want to show the vehicles that are already booked for particular dates, how will you handle this scenario?

    • @InterviewWithBunny
      @InterviewWithBunny  2 роки тому

      In the Car class, there you already having an attribute as Status. based on that, you can easily filter out your list.

  • @_jatin_mittal
    @_jatin_mittal 2 роки тому

    which app are you using ?

  • @vinod8941
    @vinod8941 7 місяців тому

    This design only works for very small scale.

  • @anmolchopra5559
    @anmolchopra5559 2 роки тому

    Can you please share code ?

  • @MillDonald-g3p
    @MillDonald-g3p 3 місяці тому

    Miller Kevin Moore Timothy Hernandez Carol

  • @prakhar_rides_away
    @prakhar_rides_away Рік тому

    Thats bullshit. In an interview you need to write the code. Drawing UML diagrams is easy and no one asks for it.

    • @InterviewWithBunny
      @InterviewWithBunny  Рік тому

      It depends on the round. In designing round, you mostly don't have to code.

  • @anmolchopra5559
    @anmolchopra5559 2 роки тому

    Can you please share code ?