Level 4 · Advanced
Dynamic programming
About 48 steps, from the first idea to a mastery test.
Stage 0Remember answers4 stepsFree
- 1Climbing stairs11 min
- 2Tiling a 2×n board10 min
- 3Minimum cost to climb10 min
- 4One, two or three steps at a time10 min
Stage 1One-row DP4 stepsFree
- 1House robber11 min
- 2Maximum subarray sum10 min
- 3Decode ways12 min
- 4Delete and earn12 min
Stage 2Choices per item4 stepsFree
Stage 3Grids4 stepsFree
Stage 4Two strings4 stepsFree
Stage 5Knapsack4 stepsFree
Stage 6Subsequences4 stepsFree
Stage 7Intervals4 stepsFree
Stage 8Counting ways4 stepsFree
Stage 9States4 stepsFree
- 1Remember the colour you just used13 min
- 2Three situations, one per day14 min
- 3Count what you have used15 min
- 4Count by state15 min
Stage 10Bitmask4 stepsFree
Stage 11Mastery4 stepsFree
- 1Fewest square tiles12 min
- 2Longest mirror subsequence14 min
- 3Ring of houses12 min
- 4Nested boxes15 min