Dynamic Programming Master List Checklist
Dynamic Programming Master List Checklist
2. 2D DP
☐ ☐ ☐ ☐ ☐ Unique Paths - https://leetcode.com/problems/unique-paths/
☐ ☐ ☐ ☐ ☐ Minimum Path Sum - https://leetcode.com/problems/minimum-path-
sum/
☐ ☐ ☐ ☐ ☐ Longest Common Subsequence -
https://leetcode.com/problems/longest-common-subsequence/
☐ ☐ ☐ ☐ ☐ Edit Distance - https://leetcode.com/problems/edit-distance/
☐ ☐ ☐ ☐ ☐ Longest Palindromic Subsequence -
https://leetcode.com/problems/longest-palindromic-subsequence/
☐ ☐ ☐ ☐ ☐ Interleaving String - https://leetcode.com/problems/interleaving-
string/
3. Knapsack Pattern
☐ ☐ ☐ ☐ ☐ 0/1 Knapsack - https://practice.geeksforgeeks.org/problems/0-1-
knapsack-problem0945/1
☐ ☐ ☐ ☐ ☐ Unbounded Knapsack -
https://practice.geeksforgeeks.org/problems/knapsack-with-duplicate-items4201/1
☐ ☐ ☐ ☐ ☐ Coin Change (number of ways) - https://leetcode.com/problems/coin-
change-2/
☐ ☐ ☐ ☐ ☐ Coin Change (minimum number of coins) -
https://leetcode.com/problems/coin-change/
☐ ☐ ☐ ☐ ☐ Target Sum - https://leetcode.com/problems/target-sum/
☐ ☐ ☐ ☐ ☐ Subset Sum Equal to K - https://www.geeksforgeeks.org/subset-sum-
problem-dp-25/
7. Partition DP
☐ ☐ ☐ ☐ ☐ Minimum Cost to Cut a Stick -
https://leetcode.com/problems/minimum-cost-to-cut-a-stick/
☐ ☐ ☐ ☐ ☐ Palindrome Partitioning II -
https://leetcode.com/problems/palindrome-partitioning-ii/
☐ ☐ ☐ ☐ ☐ Evaluate Boolean Expression to True -
https://www.geeksforgeeks.org/boolean-parenthesization-problem-dp-37/
8. Problems on Trees
☐ ☐ ☐ ☐ ☐ Maximum Path Sum in Binary Tree -
https://leetcode.com/problems/binary-tree-maximum-path-sum/
☐ ☐ ☐ ☐ ☐ House Robber III - https://leetcode.com/problems/house-robber-iii/
☐ ☐ ☐ ☐ ☐ Diameter of Binary Tree - https://leetcode.com/problems/diameter-
of-binary-tree/
☐ ☐ ☐ ☐ ☐ Lowest Common Ancestor (with DP optimization) -
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/
9. Digit DP
☐ ☐ ☐ ☐ ☐ Numbers At Most N Given Digit Set -
https://leetcode.com/problems/numbers-at-most-n-given-digit-set/
☐ ☐ ☐ ☐ ☐ Count Numbers with Unique Digits -
https://leetcode.com/problems/count-numbers-with-unique-digits/
☐ ☐ ☐ ☐ ☐ Prime Number of Set Bits - https://leetcode.com/problems/prime-
number-of-set-bits-in-binary-representation/
10. Bitmasking DP
☐ ☐ ☐ ☐ ☐ Traveling Salesperson Problem (TSP) -
https://www.geeksforgeeks.org/solve-dynamic-programming-problem-tsp/
☐ ☐ ☐ ☐ ☐ Minimum Cost to Visit Every Node in a Graph -
https://leetcode.com/problems/minimum-cost-to-visit-every-node/
☐ ☐ ☐ ☐ ☐ Maximum XOR Subset - https://www.geeksforgeeks.org/find-
maximum-xor-subset-given-set/