2 testcases not working

Can you tell which testcases my code cannot pass?

@akash_281 your code is not passing the basic requirement of the problem that is seq should be first decreasing then increasing.
Consider this test case:

5
5 4 1 2 3