Mental Model
Find the closest smaller or equal value (floor) and closest greater or equal value (ceil) to a target in a sorted list.
Analogy: Imagine standing on a number line with sorted stepping stones. The floor is the stone you stand on or the closest one behind you, and the ceil is the stone you stand on or the closest one ahead.
Sorted array: [1] -> [3] -> [5] -> [7] -> [9] -> null Target: 6 Floor: closest ≤ 6 Ceil: closest ≥ 6
