Lecture Synopsis
26. Disjoint Set
[Previous Lecture]
[Next Lecture]
- Implementation of Disjoint Sets as Up-Trees
- Representation of Up-Trees in an Array
- Heuristics that improve performance of Union-Find
- Path Compression on Find
- Union by Weight (or Size)
- Iterated Logarithms
[Previous Lecture]
[Next Lecture]