grokking-algorithms/chapter11/README.md
2024-01-19 17:23:09 +00:00

252 B

Dynamic Programming

A programming technique for decomposing a problem into smaller discrete subproblems.

  • Useful when trying to optimize something given a constraint.
    • Example, items in a knapsack of size W that gives the greatest value.