category

Dynamic Programming

Overlapping subproblems solved once and reused.

Climbing Stairs

Count the ways to climb n stairs taking 1 or 2 steps at a time.

Easy
House Robberinteractive

Max loot without robbing two adjacent houses — the classic take-or-skip DP.

Medium
Coin Changeinteractive

Fewest coins to make an amount — bottom-up DP, not greedy.

Medium
Word Breakinteractive

Can a string be split into dictionary words? Reachability DP over prefixes.

Medium
Longest Increasing Subsequenceinteractive

Longest strictly increasing subsequence — dp[i] = best run ending at i.

Medium