You are viewing a single comment's thread. Return to all comments →
Total Sum At All Petrol Pumps
Petrol = 19
Ditance = 25 > 19
So it will go into infinite loop.
Because Total Distance Itself is not withing the total capacity
Of all the petrol pumps.
It was a simple check mam...!!