Lecture 21
Learning objectives
After this class, you should be able to:
- Given a graph, show the minimum spanning trees returned by Kruskal's and Prim's algorithms.
- Prove the correctness of the above algorithms, and derive their time complexities.
- Write a program implementing the above algorithms.
- Given alternate algorithms for determining the minimum spanning tree, or for similar problems, prove their correctness or disprove them.
Reading assignment
- CLR: Chapter 23.
Exercises and review questions
- Questions on current lecture's material
- Exercise 23.1-1.
- Exercise 23.2-2.
- Exercise 23.2-4.
- Questions on next lecture's material
- None.