Dynamic Programming

Unit 13 of 15

Advanced

Dynamic Programming

Turn exponential recursion into fast code by solving each subproblem once. Learn the state, transition, base case, answer recipe, then apply it to 1D, grid, two-string and knapsack problems.

0 of 3 lessons complete, 0 of 9 problems solved

Coursework

42 min

Practice ladder

Start with the first problem, then work toward the harder variations. Run examples before submitting against all tests.

Next unit: Greedy & Intervals