One testcase giving wrong output
Hello @aryanv,
Your code is failing for the testcases like:
4
9 8 7 6
4
9 8 7 6
Expected Output:
9
Your Output:
8
Hope, this would help.
Give a like, if you are satisfied.
1 Like