Maximum length biotonic subarray


not giving correct output

I have edited your code, kindly try to submit now ,