References: Greedy Algorithms
Books, articles and resources to go deeper into the lessons of this chapter. The textbooks are listed in order of relevance to the course.
Textbooks
- G. Brassard and P. Bratley. Fundamentals of Algorithmics. Prentice Hall, 1996 (Spanish edition: Fundamentos de algoritmia, 1997). The chapter on greedy algorithms uses the same scheme as this course.
- R. Guerequeta and A. Vallecillo. Técnicas de diseño de algoritmos. Universidad de Málaga, 1998. Free online: lcc.uma.es/~av/Libro. The chapter "Algoritmos ávidos" presents the scheme and many solved problems, in Spanish.
- J. Kleinberg and É. Tardos. Algorithm Design. Addison-Wesley, 2005. The best text for learning to prove that greedy algorithms are optimal, with exchange arguments and "greedy stays ahead".
- T. H. Cormen, C. E. Leiserson, R. L. Rivest and C. Stein. Introduction to Algorithms, 4th ed. MIT Press, 2022. Activity selection, Huffman codes, and the algorithms of Prim, Kruskal and Dijkstra.
Original sources
- D. A. Huffman. "A method for the construction of minimum-redundancy codes". Proceedings of the IRE, 40(9):1098–1101, 1952.
- J. B. Kruskal. "On the shortest spanning subtree of a graph and the traveling salesman problem". Proceedings of the American Mathematical Society, 7(1):48–50, 1956.
- R. C. Prim. "Shortest connection networks and some generalizations". Bell System Technical Journal, 36(6):1389–1401, 1957.
- E. W. Dijkstra. "A note on two problems in connexion with graphs". Numerische Mathematik, 1:269–271, 1959.
Online resources
- Prim's and Kruskal's algorithms (David Galles): animations of minimum spanning tree algorithms and Dijkstra's algorithm.
Saved only in your browser
Questions, or something wrong?
Errors, suggestions and public questions open a form on GitHub, visible to everyone.