Practice40 min
Practice: Grids & Two Strings
Path counting, the classic LCS table, state-machine stock DP, and combination-counting knapsack.
Unique Paths and LCS are the two canonical table shapes; the stock problem adds a small state machine (holding, sold, cooling) on top of the day axis; Coin Change II is the coins-outer-loop combinations count.
Problems0 of 4 solved
- Not startedUnique Pathsgrid path-count DP (row-by-row)medium
- Not startedLongest Common Subsequenceclassic 2-D DP table on two stringsmedium
- Not startedBest Time to Buy and Sell Stock with Cooldownstate-machine DP (buy/sell/cooldown)medium
- Not startedCoin Change IIunbounded knapsack counting combinationsmedium