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. Floor is the stone you stand on or just behind you, ceil is the stone you stand on or just ahead.
Sorted array: [1] -> [3] -> [5] -> [7] -> [9] -> null Target: 6 Floor: closest ≤ 6 Ceil: closest ≥ 6
