Module M19 · 19 of 35 in teaching order · Intermediate
Binary Search Trees
The BST invariant, its operations, and why balance decides their cost.
Lessons
The BST invariant and every basic operation: search, insert, min, max, the three delete cases with the inorder successor, validation, and why height decides the cost.
Topics this module covers
The full module scope. Topics without a lesson above are not written yet.
- invariants
- search/insert/delete
- min/max
- predecessor/successor
- validation
- balance
- implementation