Could you help me spot the logical error in the code below.
Checked this code on Leet code and it’s working fine there.
Petrol Pumps Code Logic
Hey, i am extremly sorry.I am ta of cpp.I acknowledged the doubt before seeing the code.Can you please reopen the doubt?
I can’t see any option to reopen it.
Should I click ‘ask doubt’ button and raise it again?
Yes, click on that button
I have raised the doubt again.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.