1. 1d Range Search
Goal: intersections of geometric objects.
Solution: BST
1d range search
operations required:
- insert
- search
- delete
- range search: all keys between k1 and k2
- range count: how many keys are between k1 and k2
→ find points on an interval
implementation by BST
range count
using the rank …