Lecture Synopsis
16. Red-Black Trees
[Previous Lecture]
[Next Lecture]
- Properties of Red-Black Trees
- Black rule
- Red rule
- Path rule
- Operations
- Proofs
- A red-black tree with root x has at least N - 1 internal nodes.
(N is 2 to the power of bh(x), where bh(x) is the black height of x.)
- A red-black tree with n internal nodes has height less than or equal to
2 lg(n + 1).
[Previous Lecture]
[Next Lecture]