mirror of
https://github.com/onyx-and-iris/grokking-algorithms.git
synced 2024-11-15 17:30:52 +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.