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.