INCREASING DECREASING SEQUENCE
I am not able to understand the sample output .Please explain
Java challenges fundamentals and patterns
Hi Lavish, basically in this question three cases are possible:-
- Sequence is first decreasing and then increasing.
2)Sequence is strictly decreasing
3)Sequence is strictly increasing
If the given sequence is one of the above sequence then print true else false