Binary search is a search algorithm that will search through an ordered array of numbers.

Let's say that we are searching for the number 2 in this sorted array of numbers.