question=Take the following as input.
A number (N)
Take N more numerical inputs
The N inputs for a sequence S = s1, s2, …, sN. Compute if it is possible to split sequence into two sequences -
s1 to si and si+1 to sN such that first sequence is strictly decreasing and second is strictly increasing. Print true/false as output
this is my code https://ide.codingblocks.com/s/89826
what mistake i am doing here only 5 test case are passed out of 9