My code shows correct output for 2 test cases but showing wrong answer in 3 test cases. Please help
Showing wrong answer for 3 test cases
Can you debug error in my above mentioned code?
@chshubham97 I have corrected that code itself with slight changes ,please check the logic part only snd dry run it ,you will get it.
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.