Sorted array recursion


one test case fail

Change line no 9 of your code as, if(a[0]<=a[1] && sorted(a+1,n-1)) and then try to submit