How do you allocate the vehicle/lane managment in Gas station such a way that in a given day maximum number of vehicles are allowed to fill the gas.
- There are 4 lanes with each having two gas filling spots
- If a bus comes to fill the gas. It can be accomodated only one per lane
- Any vehicles is on the second gas filling spot in a lane has to wait till first gas filling spot is completed.
Let us assume following vehicles wait time
- Bus - 6mins
- Car - 4mins
- Motor Bike - 2mins