7. Greedy Algorithms
Build a solution one locally best choice at a time: activity selection, minimum spanning trees with Prim’s and Kruskal’s algorithms, Dijkstra’s shortest paths and Huffman coding. The chapter ends by comparing greedy with dynamic programming.
Slides¶
Present full screen Download the PDF
Click or tap the slide to move forward, its left edge to go back; the arrow keys work too.