Module M27 · 28 of 35 in teaching order · Advanced
Minimum Spanning Trees
Cut and cycle properties, Prim and Kruskal (after Union Find).
Lessons
What a minimum spanning tree is, the cut and cycle properties that make greedy choices safe, Kruskal with union-find step by step, Prim with a heap, and their costs.
Topics this module covers
The full module scope. Topics without a lesson above are not written yet.
- spanning trees
- cut/cycle properties
- Prim
- Kruskal
- forests
- comparison