Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

6. Dynamic Programming

Solve overlapping sub-problems once and store the answers in a table: the coin-row, change-making and coin-collecting problems, the 0-1 knapsack, optimal binary search trees, and the algorithms of Warshall and Floyd.

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.