0/1 Knapsack Problem easy explanation using Dynamic Programming. | Study Algorithms
7.6 هزار بار بازدید -
4 سال پیش
-
Dynamic programming is probably the
Dynamic programming is probably the trickiest algorithmic paradigm to master. But that is what makes it essential as well. If you find a hard time understanding the 0/1 Knapsack problem using dynamic programming, this video is made for you. The video tries to explain the problem using a more relatable example from day to day life.
This is a 2 part series.
➡️ Part 1:
Discussion about the general idea of Dynamic Programming and how to generate a Fibonacci Series using DP.
Watch the video here: Dynamic Programming easy to understan...
➡️ Part 2:
00:00 - Intro
00:43 - Explanation of the variation of a 0/1 Knapsack problem
02:18 - Why do we call it 0/1?
03:19 - Solving the problem using Dynamic Programming
04:04 - A step by step demo
14:57 - Why is dynamic programming beautiful?
My favorite book on Introduction To Algorithms: https://amzn.to/35RrVuK
📘 The description and examples are available at: https://studyalgorithms.com/theory/al...
📚 More Algorithmic Paradigms:
Brute Force: Brute Force algorithms with real life...
Divide and Conquer: Divide and Conquer algorithms with re...
Greedy Algorithms: Greedy Algorithms with real life exam...
🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...
💻 Get Social 💻
Follow on Facebook at: Facebook: studyalgos
Follow on Twitter at: Twitter: studyalgorithms
Follow on Tumblr at: Tumblr: studyalgos
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
#studyAlgorithms #programming #interview
This is a 2 part series.
➡️ Part 1:
Discussion about the general idea of Dynamic Programming and how to generate a Fibonacci Series using DP.
Watch the video here: Dynamic Programming easy to understan...
➡️ Part 2:
00:00 - Intro
00:43 - Explanation of the variation of a 0/1 Knapsack problem
02:18 - Why do we call it 0/1?
03:19 - Solving the problem using Dynamic Programming
04:04 - A step by step demo
14:57 - Why is dynamic programming beautiful?
My favorite book on Introduction To Algorithms: https://amzn.to/35RrVuK
📘 The description and examples are available at: https://studyalgorithms.com/theory/al...
📚 More Algorithmic Paradigms:
Brute Force: Brute Force algorithms with real life...
Divide and Conquer: Divide and Conquer algorithms with re...
Greedy Algorithms: Greedy Algorithms with real life exam...
🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...
💻 Get Social 💻
Follow on Facebook at: Facebook: studyalgos
Follow on Twitter at: Twitter: studyalgorithms
Follow on Tumblr at: Tumblr: studyalgos
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
#studyAlgorithms #programming #interview
4 سال پیش
در تاریخ 1399/05/27 منتشر شده
است.
7,647
بـار بازدید شده