text: As this subarray is sorted , we can quickly check if key lies in any of the halves
code: if ( key >= arr [ l ] and key <= arr [ mid ] ) : NEW_LINE INDENT return search ( arr , l , mid - 1 , key ) ; NEW_LINE DEDENT