mirror of
https://github.com/onyx-and-iris/grokking-algorithms.git
synced 2025-01-18 00:30:53 +00:00
.. | ||
camping.py | ||
knapsack.py | ||
README.md | ||
subsequence.py | ||
substring.py | ||
travel.py |
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.