i am not getting this question can you more test case to make this question clear
Increasing decreasing sequence
Hey,
Let’s take this example:
5
5
4
5
4
3
The ans should be false. Bcoz it not strictly increasing and descreasing sequence as you can see…
5
1
2
3
4
5
Here ans should be true, bcoz [1] , [2,3,4,5] the first sequence is strictly decreasing and second sequence is strictly increasing.
Thanks
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.