Doubt regarding recursion

what is the use of RESTANS in this question plz explain ???

Hey @harsh.hj
RESTANS track Array is sorted or not INDEX At si+1 to arr.length-1;