how it is comparing in recursive call im unable to understand
About recursive call
Hi @tarun1010
In every recursive call of traversing a array we compare that if arr[i] > arr[i + 1] , we return false else we will continue traversing the array. i.e if in a array of size 5 if element at first index is found to be 2 and element at 3rd index is found to be 1 then simply we will return false and exit the function. Hope you are clear now