Increasing Decreasing sequence

I cant understand the problem…please explain to me the problem

you need to check if the array can be split such that first sequence is strictly decreasing, second is strictly increasing.
eg
1 2 3 4 5
can be split as 1 and 2 3 4 5
5 4 3 7 8 9
can be split as 5 4 3 and 7 8 9

1 Like

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.

1 Like

every testcase passed except test case 0.can cany1 help me?

Please provide the code.