filmov
tv
Mastering Dynamic Programming 2 | How to approach DP problems
Показать описание
Let's unravel the magic behind Dynamic Programming and Memoization in coding! 🚀
In this video, I have problem-solving session. I will discuss how to approach DP problems.
Genrally, it has four phases:
1. Definition
2. Base case
3. Update
4. Final answer
In the video, I show you how I use this technique to solve dp problems. I’d be more than happy to hear your comments. Tell me if this approach works for you or not.
Join our fun Discord community ("Competitive Programming Discord Server") to chat more about this!
Don't forget to like, subscribe, and hit the bell for more awesome coding tips! Let's learn and have fun together! 🔔📚
0:00 Intro
0:54 How to approach DP problems
2:46 Solve Chocolate Bar from Codeforces
13:00 Implement Chocolate Bar
21:00 Solve Independent Set from Atcoder
27:10 Implement Independent Set
33:30 Re-explain the approach
34:48 Ask questions and share feedback
Connect with me:
LinkedIn: Shayan Chashm Jahan
TikTok: @Shayan_Academy
Your support means a lot! Join us on Discord, like, and subscribe to learn more cool coding stuff! 🔥✨
#DynamicProgramming #Memoization #CompetitiveProgramming #Codeforces #Algorithm #DP #ProgrammingTutorial #CodingTips #TopDownDP #BottomUpDP #Recursion #TechEducation
In this video, I have problem-solving session. I will discuss how to approach DP problems.
Genrally, it has four phases:
1. Definition
2. Base case
3. Update
4. Final answer
In the video, I show you how I use this technique to solve dp problems. I’d be more than happy to hear your comments. Tell me if this approach works for you or not.
Join our fun Discord community ("Competitive Programming Discord Server") to chat more about this!
Don't forget to like, subscribe, and hit the bell for more awesome coding tips! Let's learn and have fun together! 🔔📚
0:00 Intro
0:54 How to approach DP problems
2:46 Solve Chocolate Bar from Codeforces
13:00 Implement Chocolate Bar
21:00 Solve Independent Set from Atcoder
27:10 Implement Independent Set
33:30 Re-explain the approach
34:48 Ask questions and share feedback
Connect with me:
LinkedIn: Shayan Chashm Jahan
TikTok: @Shayan_Academy
Your support means a lot! Join us on Discord, like, and subscribe to learn more cool coding stuff! 🔥✨
#DynamicProgramming #Memoization #CompetitiveProgramming #Codeforces #Algorithm #DP #ProgrammingTutorial #CodingTips #TopDownDP #BottomUpDP #Recursion #TechEducation
Комментарии