Mental Model
Binary search quickly finds a value by repeatedly cutting the search area in half, but it only works if the list is sorted.
Analogy: Imagine looking for a word in a dictionary: you open it in the middle, check if the word is before or after, then open the correct half again and again until you find it.
Sorted array: [1] -> [3] -> [5] -> [7] -> [9] -> [11] -> [13] -> null Indices: 0 1 2 3 4 5 6 Search range: ↑-----------------------------↑
