Why is one test case failing? Link to code : https://ide.codingblocks.com/s/201110
@Chirag-Jain-1414278322030453 Change line 10 to if (a[0]<=a[1] and Sorted(a+1,n-1)) and then check.