Please tell me the question

Please explain me the question in a simple manner i did not understood

according to the problem, you need to check if its possible to split the array in two parts such that first part is purely decreasing or you can say in descending order (no two elements should be same) and second part is in increasing order ( no two elements should be same).

In the sample input if we divide the sequence in two parts then how we can say that one part is increasing and another part is decreasing

if in one sequence a[i+1] > a[i] for each i and in other sequence a[i+1] < a[i] for each i, then we can say one sequence is increasing while the other is decreasing

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.