3. Greedy algorithms
Course week(s)
Week 3
Course subject(s)
03. Greedy algorithms
Module 3. Greedy algorithms
Greedy algorithms are algorithms designed using an intuitive rule of thumb, which can be proven to lead to optimal solutions. In these lectures, several examples of problems and such algorithms are given to illustrate this general concept. In addition, quite some time is spent on the proving techniques required to show the correctness and optimality of the presented algorithms.
Recorded lectures:
- “Interval schedulingl” last slide gives information to TU Delft students
- “Interval partitioning” please watch until 25:30
- “Scheduling to minimize maximum lateness” please watch until 59:10
- “Greedy analysis strategies” please watch until 10:10
- “Shortest path in a graph” please watch until 51:10
- “Minimum spanning tree” last slide gives information to TU Delft students
- “Clustering” please watch until 44:20
- “Huffman codes” please watch until 1:17:10
Slides:
Slides with thanks to Kevin Wayne and Pearson Education (made available together with the book “Algorithm Design” by Kleinberg & Tardos)
Relevant exercises:
Algorithm Design: 4.1 – 4. 10, 4.12 – 4.13
Algoritmiek by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://ocw.tudelft.nl/courses/algoritmiek/.