xenochrysalis
1/10/2017 - 3:19 AM

equal_sides_of_an_array.txt

Binary search compares the target value to the middle element of the array; if they are unequal, the half in which the target cannot lie is eliminated and the search continues on the remaining half until it is successful or the remaining half is empty.