Skip to content

Dynamic Programming Guide L01

Hey there! Struggling with dynamic programming? No sweat! In this blog, we'll tackle it step by step. I'll lay out our plan and share easy techniques and examples to help you get the hang of it. Let's ace dynamic programming together!

Intro

Dynamic Programming : It's like a cooler version of recursion. You still break big problems into smaller ones, but with dynamic programming you also have the choice to either store or reuse solutions to subproblems

Roadmap

TypeDifficultyTotal variants
1. Fractional KnapSack4/101
2. 0-1 KnapSack7/106
3. Unbounded KnapSack6/105
4. Fibonnaci Series2/107
5. Longest Common Subsequence5/1015
6. Longest Increasing Subsequence6/1010
7. Kadane's Algorithm4/106
8. Matrix Chain Multiplication8/107
9. DP on Trees7/104
10.DP on Grid6/1014
11.Other5

Fractional Knapsack isn't a DP problem but rather a problem based on the Greedy Algorithm; however, it's still necessary to learn 0-1 Knapsack.


HandWritten Notes

DP Intro


Happy Coding!