Some test cases falling
first sequence should be strictly decreasing and second is increasing
you have reversed the sequence
i know there is some ambiguity in problem statement
yeah the mentioned test case and explanation confused me. so it should be like - 5 4 3 2 1 2 3 4… first strictly decreasing and then increasing?
yes …
you have to check that
alright… thanks a lot!
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.
