0/1 Knapsack Problem easy explanation using Dynamic Programming. | Study Algorithms

  Рет қаралды 9,621

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Пікірлер: 19
@hamzahahmad1670
@hamzahahmad1670 20 күн бұрын
Thank you for the crystal clear explanation, Nikhil. I have watched many other videos on this topic, but yours was the one that finally clicked. The time and effort you took to explain everything step by step is highly appreciated.
@nehagoyal3325
@nehagoyal3325 4 жыл бұрын
Great video. I enjoyed dynamic programming for the first time.
@nikoo28
@nikoo28 4 жыл бұрын
Glad you enjoyed it!
@tulas11
@tulas11 Жыл бұрын
Couldn't be more easier! THANKS MAN!
@rohand5545
@rohand5545 3 жыл бұрын
Tum bada mast kaam krte ho Maqsood bhai.🙏
@thellaidhinesh8646
@thellaidhinesh8646 Жыл бұрын
What an explanation. You saved my day. now i got new perspective about dynamic programming. Thanks a lot bro. Keep the good work going
@anushreeyagurung293
@anushreeyagurung293 2 жыл бұрын
type at 13:54? When you add the fullness of the soup (400) + the fullness of the remanning 50 calories (100), its suppose to be 500 fullness which Is < 600. You wrote 400 + 100 = 600. which isn't a v big deal. just a heads up.
@nikoo28
@nikoo28 2 жыл бұрын
Thanks for pointing that out. I realised that typo after the video was already published. The solution will still remain unchanged though.
@pranaym143
@pranaym143 4 жыл бұрын
Great illustration
@nikoo28
@nikoo28 4 жыл бұрын
Glad it helped.
@amanpaliwal2859
@amanpaliwal2859 3 жыл бұрын
Bhai, You are Awesome
@sidramemon3274
@sidramemon3274 Жыл бұрын
why don't we use the previous value from the same row? when we want to calculate the fullness value for 300 calories in a row of Fish we use 300+300=600. why not 300+400=700(400 from same row for 200 calories)?
@JaswanthTirumalareddy
@JaswanthTirumalareddy 20 күн бұрын
We can try greedy approach right making their fractions being less
@unemployedcse3514
@unemployedcse3514 26 күн бұрын
awesome ❤
@Zashxq
@Zashxq Жыл бұрын
wow this was the perfect explanation for me. i count calories so this was super relatable 😊 thank you for the video!
@nikoo28
@nikoo28 Жыл бұрын
You're so welcome!
@prateekagrawal6647
@prateekagrawal6647 3 жыл бұрын
Good work 👍👍👍
@infinite639
@infinite639 2 жыл бұрын
bhai wahat is fullness i didnt understand
@nikoo28
@nikoo28 2 жыл бұрын
Understand fullness as the satisfaction level. Suppose that you are eating an apple pr eating a cake. Which one gives you more satisfaction? More the satisfaction, more is the fullness value.
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 15 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
0/1 Knapsack problem | Dynamic Programming
13:29
WilliamFiset
Рет қаралды 157 М.
The 0/1 Knapsack Problem (Demystifying Dynamic Programming)
20:30
Back To Back SWE
Рет қаралды 206 М.
4.5 0/1 Knapsack - Two Methods - Dynamic Programming
28:24
Abdul Bari
Рет қаралды 2,8 МЛН
0-1 Knapsack problem - Inside code
10:54
Inside code
Рет қаралды 9 М.
Greedy Algorithms with real life examples | Study Algorithms
14:02
Nikhil Lohia
Рет қаралды 20 М.
01 Knapsack using Recursion | Building Intuition
18:38
Techdose
Рет қаралды 53 М.
Recursion paradigms with real life examples | Study Algorithms
10:27
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19