References: Dynamic Programming
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 dynamic programming 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 "Programación dinámica" presents the technique and many solved problems, in Spanish.
- J. Kleinberg and É. Tardos. Algorithm Design. Addison-Wesley, 2005. Excellent for learning to design dynamic programming algorithms: weighted scheduling, segmented least squares, knapsack and sequence alignment.
- T. H. Cormen, C. E. Leiserson, R. L. Rivest and C. Stein. Introduction to Algorithms, 4th ed. MIT Press, 2022. Rod cutting, matrix chain multiplication, the longest common subsequence and optimal binary search trees.
- S. Dasgupta, C. Papadimitriou and U. Vazirani. Algorithms. McGraw-Hill, 2006. A short and very readable chapter on dynamic programming.
Original sources
- R. Bellman. Dynamic Programming. Princeton University Press, 1957. The book that named the technique and stated the principle of optimality.
- R. W. Floyd. "Algorithm 97: Shortest path". Communications of the ACM, 5(6):345, 1962.
Online resources
- Dynamic programming visualizations (David Galles): animated tables for Fibonacci, LCS and other problems.
- Recursion trees and recurrences (VisuAlgo): shows how the naive recursion of the Fibonacci numbers and binomial coefficients repeats subproblems.
Saved only in your browser
Questions, or something wrong?
Errors, suggestions and public questions open a form on GitHub, visible to everyone.