Increasing Decreasing sequence

when i submit my code to this problem ,it gives right answer for all test case except test case 0. Sir ,please check my code.

Hello @asif_h please wait i am checking your code:

@asif_h check this:


you have to check whether the first split is decreasing sequence and other split is increasing so judge it in the conflicting way.

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.