1 test case is not working for this problem on submitting the code. Can you please check my code as to see what am I doing wrong?
Here is my code-
Increasing Decreasing Question - 1 test case failed
Hey @LPLC0059, your code seems great. It does not cover one case i.e. when two consecutive numbers are same in the sequence. For example if your test case is like :
5
2
2
2
3
4
Then the output should be false. But your code returns true ! So kindly cover that case as well.
I hope this resolves your doubt !
Happy Coding 
Okay, Thank you so much !
1 Like