Skip to main content

6 docs tagged with "Dynamic Programming"

View all tags

Choosing a Design Technique

Comparing all six design techniques on 0/1 knapsack, coin change, and Fibonacci, with a practical decision guide.

Proofs: Dynamic Programming

Formal proofs for Chapter 6: 0/1 knapsack recurrence, Pascal rule, and Longest Common Subsequence recurrence.

The Dynamic Programming Method

Overlapping subproblems, memoization vs. bottom-up tables, the principle of optimality, and how to design dynamic programming solutions.