Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 368 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 368 Bytes

Searching

The binary search algorithm is a simple search in an ordered array-like compound. It starts by comparing the value we are looking for to the middle of the array. If it's not a match, the function calls itself recursively on the right or left half of the array until it does(n't) find the value in the array.