Mental Model
Floor is the biggest number less than or equal to the target. Ceil is the smallest number greater than or equal to the target. Both can be found quickly in a sorted list by checking middle points.
Analogy: Imagine a number line with houses sorted by their address. Floor is the closest house to the left or at your address. Ceil is the closest house to the right or at your address.
Sorted Array: [1] -> [3] -> [5] -> [7] -> [9] -> null Target: 6 Floor: 5 (closest left) Ceil: 7 (closest right)
