I dont understand tle on one of the cases

Kindly, look in my code i am unable to understand this tle

hello @KushagraNITJ
a)
image
here it should be
start=mid+1
end=mid-1

b) ur while loop condition should be end>=start

pls check ur updated code.