Take out a piece of paper. We’ll be programming on paper.
Write a recursive method to search a sorted array:
The binary search algorithm decides which half of the array the value is in by comparing the value to the middle of the array then searching the correct half.