code
kindly also tell how you figured out the error
code
kindly also tell how you figured out the error
hello @laksh.rustagi12
check now
i check working of each function seprately.
that helps a lot in debugging.
bhaiya i did not get why we are doing >= in line 42 .Should’t it just with == because we want the division of array into 2 parts to stop at that very point when the s==e and both s, e are pointing to the same element
the code works fine using ==
yeah it will.
adding s>=e consider all invalid cases.
so if by mistake u put s>e this will stop executing
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.