1) Subset Sum Equals to Target 2) Partition Equals Subset Sum 3) Partition A subset into 2 subset with minimum absolute sum diff. 4) Count Subsets With Sum K 5) Count Partitions with given difference 6) 0/1 Knapsack 7) Minimum Coins 8) Target Sum 9) Coin Change 2 10) Unbounded Knapsack 1 D array 11) Rod Cutting 1 D array
Pattern -> 𝐃𝐲𝐧𝐚𝐦𝐢𝐜 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠 𝐎𝐧 𝐒𝐭𝐫𝐢𝐧𝐠𝐬
1) Print Length Of Longest Common Subsequence 2) Print Longest Common Subsequence 3) Longest Palindromic Subsequence 4) Minimum Insertion to Make String Palindrome 5) Minimum Insertions/Deletions to Convert String A -> B 6) Shortest Common SuperSequence 7) Distinct Subsequence 8) Edit Distance 9) Wildcard Matching
Pattern -> 𝐃𝐲𝐧𝐚𝐦𝐢𝐜 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠 𝐎𝐧 𝐒𝐭𝐨𝐜𝐤𝐬
1) Best Time To Buy and Sell Stock (Buy Ones & Sell Ones ) 1) Best Time To Buy and Sell Stock 2 (Unlimited Time Buy & Sell) 1) Best Time To Buy and Sell Stock 3 ( At Max 2 Times Buy & Sell) 1) Best Time To Buy and Sell Stock 4 (K times Buy & Sell ) 1) Best Time To Buy and Sell Stock 5 (Buy & Sell With Cooldown) 1) Best Time To Buy and Sell Stock 6 (Buy & Sell With Extra Fee)
1) Matrix Chain Multiplication 2) Minimum Cost To cut The Stick 3) Burst Balloons 4) Evaluate Boolean 5) Palindrome Partitioning 2 6) Partition Array For Maximum Sum 7) Maximum Rectangle Area with all 1's (Dp on Rectangle) 8) Count Square Submatrices with all ones (Dp on Rectangle)