only 1 test case not passing
code link: https://ide.codingblocks.com/s/118017
please reply asap
thanks
Increasing decresing sequence
Hi @pulkit10251,
Try to check weather your program covers all the possible subset of question.
- decreasing then increasing : true
 - Increasing then decreasing : false
 - Decreasing : true
 - Increasing : true
 - Single input (example: 1 5) : true
 - Same values at consecutive places : false
 
Your code does not follow all these cases.
If you can’t find the problem, I will provide you the solution. 