When performing a binary search on answer, I've seen different forms of the following:
loop condition : (low+1<hi), (low<hi), (low<=hi) updating indices: (hi=mid+1), (hi=mid), (low=mid), (low=mid-1)
What is the difference between these and do they actually matter?