For challenge “Increasing Decreasing Sequence” just after Section 2, the question says:
“Given a series of N Integers, check if it is possible to split sequence into two sequences - s1 to si and si to sN such that first sequence is strictly decreasing and second is strictly increasing. Print true/false as output.”
Now as per my understanding we have to check if first sequence is strictly decreasing and followed by strictly increasing pattern.
So is a pattern like:
6 5 4 1 2 3
will result in ‘true’?
and also what does strictly increasing mean?
Is 1 5 9 756 strictly increasing or are we only focusing on consecutive strictly increasing number (like 5 6 7 8).
Please explain the problem better by providing suitable multiple examples.