Error in test case 3
Hi @sr30
sorry for the late reply.
u can refer to my code for the time being.
i had used the same approach but in opposite way i.e rather than going out in am approaching the middle of array.
I will try to check and debug ur code and will share the corrected code.
Hope dis helps.
Thanks for the code.
ur reverse approach I got but my way should also work. I guess I made some error in my code. Kindly see if u can spot it.