Scheduling & Binary Search Trees
- Airport with a single runway.
- Reservations for future landings.
- Reserve request specifies landing time t
- Add
tto the setRof landing times if no other landings are scheduled withinkminutes. - Remove from set
Rafter plane lands. |R| = nO(lg n)time wherenis the size of the set.