whats the error as i m getting only 66 pts with 3 failed test cases!!?
Increasing decreasing sequence
@aditi2512201012019
Hello aditi ,
a)u have not initialised k
b) also consider this example
2
1 2
actual output should be true but ur code output is false
now also i m getting wrong ans.
@aditi2512201012019
because now u have added case for n=2
if i will give test case with n=5 1,2,3,4,5
it will again fail.
refer this and modify ur code accordingly
