Pls tell whats wrong in thgis code.. one test case is not passing
💡-sorted-array
Vaibhav277
(Vaibhav Goyal)
May 20, 2020, 1:06pm
#1
pratyush63
(Pratyush Kumar)
May 20, 2020, 1:08pm
#2
Change line 7 to if(arr[0]<=arr[1] and isSorted(arr+1,n-1))
Vaibhav277
(Vaibhav Goyal)
May 20, 2020, 1:18pm
#3
okay … thank you sir