Hello Folks!
I am confused in updating mid value in binary search problems like sometimes (left+right)/2 results in infinite loop & sometimes (left+right+1)/2 results in infinite loop when updated with same left & right.
Any blog post on the same confusion?



