One test case fails out of eight test cases

last test cases fails everytime…
please tell me where i’m doing wrong…

Hello @alok.maurya,

You have missed an important part of the question:
That the accepted sequence are strict.
strictly words means equal numbers at adjacent positions would not be accepted. eg:
5
3 2 2 1 0
Expected output:
false

Hope, this would help.
Give a like if you are satisfied.

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.