Maximum bitonic array problem

hi @sb1251224_6919c19fccd96630
I have corrected your code -->


It’s working fine and passing all test cases…

Thank you, the code you given worked fine, but the while condition that you had given in the program that I didn’t understand. Kindly explain this once.

Basically while condition is used for taking inputs t time… that’s all…

Is there anything else??

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.