Please enable JavaScript to use CodeHS

AP CSA: CON-2.P.2

CodeHS Lessons

The binary search algorithm starts at the middle of a sorted array or ArrayList and eliminates half of the array or ArrayList in each iteration until the desired value is found or all elements have been eliminated.

Standard
10.2 Recursive Searching
11.2 Recursive Searching
Standard
8.3 Binary Search
Standard
9.3 Binary Search
Standard
9.3 Binary Search
Standard
17.2 Recursive Searching
Standard
15.2 Recursive Searching
Standard
9.3 Binary Search