Simple binary search algorithm broken?



#Programming