awesome-low-level-design
awesome-low-level-design copied to clipboard
Learn Low Level Design (LLD) and prepare for interviews using free resources.
In the `dispenseProduct()` method there is no validation if the amount vending machine contains is greater than or equal to the price of selected item. I can make a fix...
Engine objects exist without Car objects. Perhaps, we need to create engine inside Car object. Below is incorrect. ``` PetrolEngine petrolEngine; DieselEngine dieselEngine; Car petrolCar(&petrolEngine); petrolCar.startCar(); Car dieselCar(&dieselEngine); dieselCar.startCar(); ```
` self.vehicle_type = VehicleType.CAR # Default vehicle type is CAR` ` if spot.is_available() and spot.get_vehicle_type() == vehicle.get_type(): spot.park_vehicle(vehicle)`
This PR introduces a ticket management system to efficiently track the status of parking spots in real-time. The system generates and manages tickets upon vehicle entry and exit, enabling us...
Abstraction option missing is Object Oriented Programming section.
The below line should be after the if, else flow, as it doesn't matter if the change to return is greater than 0 or not, we need to make the...
Change to the final transaction as well.