Identification of Knapsack problems and its Types

  Рет қаралды 25,931

Techdose

Techdose

Күн бұрын

This video explains how to identify a given problem as a knapsack problem.The identification of a problem can be very important as it will boost your confidence to solve the problem easily and efficiently.I have shown the pattern of all knapsack problems.In each of these problem variation, you will be given an array and a capacity or a maximum limit.Every element in an array will have two choices, either to include or exclude an item.This pattern is a typical knapsack problem.I have also shown how to differentiate between knapsack problem types as 01 knapsack, Bounded Knapsack and Unbounded Knapsack.I have taken two very important problems which is the Subset Sum problem and the Coin Change problem to explain how to identify a knapsack problem.If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
========================================================================
Join this channel to get access to perks:
/ @techdose4u
INSTAGRAM : / surya.pratap.k
SUPPORT OUR WORK: / techdose
LinkedIn: / surya-pratap-kahar-47b...
WEBSITE: techdose.co.in/
TELEGRAM Channel LINK: t.me/codewithT...
TELEGRAM Group LINK: t.me/joinchat/...
=======================================================================
USEFUL LINKS:
01 Knapsack Recursion: • 01 Knapsack using Recu...
Concept of Memoization: • 01 Knapsack using Memo...
Tabulation DP: • 01 Knapsack Tabulation...
#dynamicprogramming #dp #knapsack

Пікірлер: 34
@neerajpandey7273
@neerajpandey7273 3 жыл бұрын
Thank you so much ..earlier I was not comfortable with subset problems .... Sir I have one request after completing the ongoing hash series ..please plan to create a series on arrays problem(rotation, arrangements, matrix, next greater element, mathematical such stuffs). Even after lot practice ..solution doesn't come intuitively in array related problems ... after your videos I am even able to solve graph which is a huge relief ... I am already in a good company since last 10 years but now apply for better companies ..now I spent lot of time o solving problems and you are such a boost for me
@atrisengupta9776
@atrisengupta9776 4 жыл бұрын
Sir I wud like to thank you for all the help u rendered over the months.I started coding from scratch,preparing myself for placement post summer vacation.Ur videos helped me a lot.Being from non cs it was tough for me to understand but ur videos made it a lot easier for me to conceptualise.Thanks to you I got placed in GE in software profile.Ur channel is easily one of the best if not best channel in youtube for placement
@techdose4u
@techdose4u 4 жыл бұрын
Thanks bro :) happy to hear it. Congratulations 🎉
@atrisengupta9776
@atrisengupta9776 4 жыл бұрын
Sir I needed a some help..a bit of guidance in a specific field..can I connect with you in same way..mail or anything..plz sir
@techdose4u
@techdose4u 4 жыл бұрын
@@atrisengupta9776 Yes you can connect on linkedIn and instagram
@rishhh3217
@rishhh3217 4 жыл бұрын
Great tutorial 🔥.... Keep up the good work 👍🏼
@techdose4u
@techdose4u 4 жыл бұрын
Thanks :)
@srikantsharma6430
@srikantsharma6430 4 жыл бұрын
Well explained!
@techdose4u
@techdose4u 4 жыл бұрын
Thanks :)
@naman_goyal
@naman_goyal 4 жыл бұрын
Nice explanation
@techdose4u
@techdose4u 4 жыл бұрын
Thanks
@suchismitabiswas99
@suchismitabiswas99 3 жыл бұрын
great to the point explanation, no beating around the bush. loved it !
@techdose4u
@techdose4u 3 жыл бұрын
Thanks :)
@Atom404
@Atom404 4 жыл бұрын
Good work bro 👍
@techdose4u
@techdose4u 4 жыл бұрын
Thanks
@adityakajale4403
@adityakajale4403 3 жыл бұрын
Thank you techdose from bottom of my heart for such an amazing content only gratitude fr u!
@dhanashreegodase4445
@dhanashreegodase4445 3 жыл бұрын
first time in lyf i am able to identify DP problems ..thanks
@techdose4u
@techdose4u 3 жыл бұрын
Welcome :)
@amar101_16
@amar101_16 4 жыл бұрын
Well ... good explanation. Easy to understand. Thanks 🙏
@techdose4u
@techdose4u 4 жыл бұрын
Welcome :)
@ashutoshkumar4267
@ashutoshkumar4267 4 жыл бұрын
Could you share code for that example bounded knapsack limited to 2 items only?
@techdose4u
@techdose4u 4 жыл бұрын
I will solve it when I explain bounded knapsack.
@ashutoshkumar4267
@ashutoshkumar4267 4 жыл бұрын
@@techdose4u ok thanks
@Mukesh-nx8tf
@Mukesh-nx8tf 2 жыл бұрын
Great explanation
@syedkaja2045
@syedkaja2045 4 жыл бұрын
ur courses should be paid 😉
@techdose4u
@techdose4u 4 жыл бұрын
You are welcome to pay to support us 😂
@AdrianGonzalezBlogs
@AdrianGonzalezBlogs 3 жыл бұрын
Thank you!
@techdose4u
@techdose4u 3 жыл бұрын
Welcome :)
@techmind9608
@techmind9608 4 жыл бұрын
only coin change was new in this videos,,rest u have already explained in previous videos:),,
@techdose4u
@techdose4u 4 жыл бұрын
Yea. I explained just for clarity.
@LetsPlayClipAll
@LetsPlayClipAll 3 жыл бұрын
When I watch your video every time I try to subscribe your channel Click on subscribe button that is disabled already
@techdose4u
@techdose4u 3 жыл бұрын
😂
@aishwarysaxena5301
@aishwarysaxena5301 3 жыл бұрын
bro i have watched all your knapsack videos and this was last i watch now i understand the whole concept tnkyou very much
@techdose4u
@techdose4u 3 жыл бұрын
Welcome :)
01 Knapsack using Memoization | Concept of Memoization
18:03
Techdose
Рет қаралды 39 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 57 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 264 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 5 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,1 МЛН
The Knapsack Problem & Genetic Algorithms - Computerphile
12:13
Computerphile
Рет қаралды 230 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
01 Knapsack using Recursion | Building Intuition
18:38
Techdose
Рет қаралды 53 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 48 М.
Recitation 21: Dynamic Programming: Knapsack Problem
1:09:12
MIT OpenCourseWare
Рет қаралды 200 М.
The Knapsack Problem
36:27
0612 TV w/ NERDfirst
Рет қаралды 19 М.
Count subsets with given sum | Dynamic Programming
17:25
Techdose
Рет қаралды 41 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 57 МЛН