Skip to main content

Dynamic Programming

Break problems into overlapping subproblems and build up solutions bottom-up.

26 problems 3 Easy 21 Medium 2 Hard

Problems (26)

Problem Link
Climbing Stairs
House Robber
Coin Change
Longest Increasing Subsequence
Longest Common Subsequence
Word Break
Edit Distance
Unique Paths
Maximum Subarray
Decode Ways
Min Cost Climbing Stairs
House Robber II
Partition Equal Subset Sum
Target Sum
Best Time to Buy and Sell Stock
Palindromic Substrings
Longest Palindromic Substring
Best Time to Buy and Sell Stock with Cooldown
Maximum Product Subarray
Triangle
Minimum Path Sum
Perfect Squares
Regular Expression Matching
Interleaving String
Best Time to Buy and Sell Stock with Transaction Fee
Integer Break

Related Guide

A 4-Step Framework for Every DP Problem →

Dynamic programming looks hard until you realise 90% of interview DP problems follow the same four-s…

Enjoying this free content?

If this saved you time, buying me a coffee keeps new content coming.

Buy me a coffee
Buy me a coffee