L-5.3: 0/1 Knapsack Problem |Dynamic Programming |Recursive Equation |Recursion Tree Time Complexity

Sdílet
Vložit
  • čas přidán 29. 06. 2024
  • 👉Subscribe to our new channel: / @varunainashots
    ►0/1 Knapsack in Dynamic Programming: • L-5.2: 0/1 Knapsack fa...
    0:00 - Recursive Equation
    8:07 - Recursion Tree
    ► Design and Analysis of algorithms (DAA) (Complete Playlist):
    • Design and Analysis of...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ► Operating System :
    • Operating System (Comp...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Software Engineering:
    • Software Engineering
    ►Data Structure:
    • Data Structure
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on CZcams: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmashersofficial
    ► Follow us on Threads: www.threads.net/@gate.smashers
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com

Komentáře • 598

  • @anupamtiwari0019
    @anupamtiwari0019 Před 2 lety +91

    I am from tier 3 college and due to lockdown classes are close , i have learned all the concept of DAA and OS in my 4th sem , and Concept of DS in 3rd sem.
    Thank you sir for these free stuffs.
    Love you sir

    • @mukuljain1312
      @mukuljain1312 Před 7 měsíci +2

      Bhai 3rd sem m ye sb padh liya😮.
      Mujhe Janna h abhi tu kha h

    • @madanapuramsaikumar9863
      @madanapuramsaikumar9863 Před 6 měsíci

      haa bhai batao kahan ho tum?

    • @JaySir_4U
      @JaySir_4U Před 3 měsíci +1

      Hello kya apko ye pura smjh mai aaya😢

    • @JaySir_4U
      @JaySir_4U Před 3 měsíci +1

      To mujhe ek doubt hai smjha dogge kya

    • @cartonopia
      @cartonopia Před měsícem

      ​@@JaySir_4U haa samjha dunga

  • @pradyumnasinha3963
    @pradyumnasinha3963 Před 3 lety +26

    Thank you very much Sir, you are helping millions of students. Words are not enough for the efforts which you are doing. You just relieve me out of a lot of stress. As soon as I see your videos it gives me a lot of confidence. Thank you very much Sir.

  • @d.a.k.s.h3240
    @d.a.k.s.h3240 Před rokem +8

    Sir, your conceptual understanding is outstanding. Thank you so much for the knowledge you are providing, for students like us. Please continue this method sir.🙏❤

  • @digantamahanta9123
    @digantamahanta9123 Před 2 lety +8

    Okay Sir, i've been watching your videos a lot lately and prepairing for my semester exams & i've to say, You're THE PERFECT teacher! The Way you explain things is Soo Good. Thank You so much sir!

  • @pranavn9245
    @pranavn9245 Před 2 lety +6

    Hi there. If you, the channel head, is reading this, please consider covering the rest of the topics as your explanation helps quite a lot. If you do, the topics to be covered are the rest of the standard problems on DP like Matrix chain multiplication, Optimal binary search trees, Reliability design. Further, please cover the topics under Backtracking and Branch and Bound algorithm design patterns. Thank you. Also, the videos you make focusing on why a certain approach fails to find the optimal solution for a given problem, like Greedy method for 0/1 Knapsack, is very appreciated.

  • @mynameisnonething8977
    @mynameisnonething8977 Před 7 měsíci +14

    00:06 0-1 Knapsack's recursive equation focuses on the two options for considering each object.
    02:27 0/1 Knapsack Problem
    04:37 Understanding the recursive equation for the 0/1 Knapsack Problem is crucial
    06:32 Understanding the recursive equation for the 0/1 Knapsack problem
    08:35 Explaining the recursive equation for the 0/1 Knapsack Problem
    10:30 0/1 Knapsack Problem explained using Recursive Equation and Recursion Tree Time Complexity
    12:14 Dynamic Programming reduces time complexity of 0/1 Knapsack problem
    14:16 Time complexity reduced from exponential to n times m through dynamic programming
    16:23 Dynamic programming saves time by optimizing computations

  • @aravindbheri5478
    @aravindbheri5478 Před 2 lety +1

    Got it sir!!
    Keep going!!
    God bless you!

  • @princesharma1314
    @princesharma1314 Před rokem +3

    Okay, I'm learning a lot from you! thank you sir !

  • @darshanmaniyar8613
    @darshanmaniyar8613 Před 2 lety +1

    OK sir reach to recursion tree. Before watching your videos i was having no idea about subject but now i can say i am having enough knowledge. Had reach 48th lecture and still continuing.... DIL SE THANK YOU SIR🙌🙏

  • @muhammadather5663
    @muhammadather5663 Před 3 lety +3

    Varun I really like your way of teaching. Specially this playlist is too good 👍👏

  • @sahilsudan2673
    @sahilsudan2673 Před 10 měsíci +1

    Okay Sir, i've been watching your videos a lot lately and prepairing for my semester exams & i've to say, You're THE PERFECT teacher! The Way you explain things is outstanding. Thank You so much sir!

  • @ShivamKumar-qv8os
    @ShivamKumar-qv8os Před 2 lety +1

    I had gone through the complete playlist in only 3 days and beleive me all the concepts explanation are damn good

  • @rahularyan1117
    @rahularyan1117 Před 3 lety +3

    I just searched for this video on the search bar and the notification popped up🤩

  • @deepanshusingh1766
    @deepanshusingh1766 Před 3 lety +9

    OK
    Sir, Please upload videos on Branch & Bound

  • @sweetys.2044
    @sweetys.2044 Před 2 lety +2

    Thankyou so much sir for all your efforts. We adore you. Sir, you're doing a great work, helping us all students, may Almighty bless you sir.

  • @142_rohitwaghmare2
    @142_rohitwaghmare2 Před 3 lety +11

    i had gone through the playlist in 2 days, and it cleared all my concepts. Thanks a lot sir

    • @fareedec3047
      @fareedec3047 Před 3 lety +7

      Bhai muje tho 5 din laag gayee , Gazab yar tum tho bade heavy driver ho

    • @RameshKumar-ss5bh
      @RameshKumar-ss5bh Před rokem

      @@fareedec3047 🤣😂😂😂

  • @beastrangergaming
    @beastrangergaming Před 9 měsíci +2

    I always leaned from 3 semester from this channel and I love it

  • @Lecturelia
    @Lecturelia Před 3 lety +9

    Hello Sir, I am trying to make tutorial videos in Bengali... Your teaching sense helping me a lot!🖤

  • @rejoychakraborty929
    @rejoychakraborty929 Před 2 lety +2

    Ok sir. Understood upto recursive equation. Thank you sir.

  • @user-fo7ol8qg8y
    @user-fo7ol8qg8y Před 7 měsíci

    Finally understood the KS programming issues after watching 5 lectures. Thank you for sharing your knowledge.

  • @bhavnasen9773
    @bhavnasen9773 Před 3 lety +10

    1st Like.....You always explain the topic in superb manner which is understood easily....Thank you sir for your efforts!!!

    • @jerichoo-ut3th
      @jerichoo-ut3th Před 8 měsíci

      @@sk4______515 Sharam krlo yaar thodi si... aise platform pe bhi tumhe sharam nhi.. Shame

  • @kokilagoel2714
    @kokilagoel2714 Před 3 lety +1

    OK👍👍😊😊smjh aa gya sir, thanks a lot🙏🙏👌👌👏👏

  • @jyoti7482
    @jyoti7482 Před 2 lety

    Ok Sir
    Thank you so much for your lectures and God bless you and your family

  • @Ashishkumar-jn1ei
    @Ashishkumar-jn1ei Před 2 lety

    Thanks sir..
    Your lecture video helping a lot.

  • @ayushrohilla008
    @ayushrohilla008 Před 2 lety

    finally feeling i can understand the recursive code

  • @j__x__c8823
    @j__x__c8823 Před 2 lety +1

    Thanks for the videos.

  • @user-yl4is2qr2o
    @user-yl4is2qr2o Před 3 lety +2

    Best teacher forever 😍thnkuuuu alotttt ❤️❤️

  • @fizasario1062
    @fizasario1062 Před 2 lety

    Ok Sir, Thank You Soo Much For This.

  • @kpkakadiya
    @kpkakadiya Před 2 lety +1

    ok sir,
    we are here..and thanks ....

  • @M_o_v_i_e_Gyan
    @M_o_v_i_e_Gyan Před 2 lety

    Really great 🔥🔥🔥🔥🔥🔥

  • @nu...123
    @nu...123 Před měsícem +1

    🎉Thank you so much sir.... really helpful video😊🤗

  • @HELLOWORLD55327
    @HELLOWORLD55327 Před měsícem +1

    I am from Pakistan,, Sir ur great ,,your teaching methods different from others

  • @MadhuryaMozumderRA
    @MadhuryaMozumderRA Před 3 lety +2

    Thank you sir...also a request to upload a video on the Travelling Salesman Problem

  • @GIT_Somya
    @GIT_Somya Před 3 lety +2

    Thank you for the amazing video . sir , be happy always

  • @user-db4sn5qf1q
    @user-db4sn5qf1q Před rokem

    Thanks a lot Sir!

  • @ritvikshrivastava2031
    @ritvikshrivastava2031 Před 2 lety

    Ok sir ... Totally got it

  • @jyostnaborse8844
    @jyostnaborse8844 Před 9 měsíci

    Neatly done and well explained 😎. Thanks for the video

  • @maheshsantoki5659
    @maheshsantoki5659 Před 2 lety +1

    okay sir, very nice

  • @shantiswaruprath675
    @shantiswaruprath675 Před 2 lety

    Amazing explanation

  • @parass2388
    @parass2388 Před 3 lety +2

    ok..nd ur the best

  • @nikkuranga7510
    @nikkuranga7510 Před 2 lety

    Ok sir...you are A great teacher

  • @kanikpandey9946
    @kanikpandey9946 Před 5 měsíci

    💯 Wordy to watch

  • @hemagohain9725
    @hemagohain9725 Před 2 lety +1

    Thank you Sir now I'm am able to understand
    Can you provide some more videos on problems using using dynamic programming without using brute force algorithm

  • @ggadits1855
    @ggadits1855 Před rokem +1

    Best sir

  • @harshaljain6416
    @harshaljain6416 Před 2 lety

    okay, thank you for putting such great efforts

  • @tech_boy_4166
    @tech_boy_4166 Před 2 lety

    great sir ji

  • @thebeuatyofnature.arvind

    Dear sir apke content apke teaching method itne jabardast hote hai ke like krna bhul jate hai bt dil se like hmesha hote hai 🙏🙏🙏

  • @MansiSParihar
    @MansiSParihar Před 3 lety

    okie sir!

  • @karishma5090
    @karishma5090 Před 2 lety +1

    Ohk sir 😊

  • @vobensingh8404
    @vobensingh8404 Před rokem +1

    Ok Sir 👌! We learned and watch upto end❣️❣️

  • @adihere2940
    @adihere2940 Před 3 lety +1

    Sir please release all topics covering dynamic programming soon, Exams ahead

  • @pikachugaming3371
    @pikachugaming3371 Před 9 měsíci

    This playlist save my day thanks gate smasher❤

  • @nominoman8158
    @nominoman8158 Před 2 lety

    sir my new semester is going to start in a few days. I want your playlist of course "computer graphics". This course is in my semester and I always take your lectures for maximum courses. Please also make tutorials on this course "computer graphics " . really thankful to you.💖

  • @priteshyadav4479
    @priteshyadav4479 Před 2 lety +1

    Okay, got it sir

  • @juststudyiffat
    @juststudyiffat Před 3 měsíci

    really nice

  • @rishijha3201
    @rishijha3201 Před 6 měsíci +2

    sir by only seeing your video for 3 days ,i secured good marks in dsa although question were hard but the way you explained every topic ,helps me to frame the answers in nice manner .Thank you sir🥰🥰🥰🥰🥰

  • @TechBlooded
    @TechBlooded Před 3 lety +1

    great video.
    #TechBlooded

  • @bhavnasen9773
    @bhavnasen9773 Před 3 lety +1

    Okay sir!!!

  • @rachitsharma3226
    @rachitsharma3226 Před 2 lety

    thanks sir

  • @arkadeepprasad6562
    @arkadeepprasad6562 Před 3 lety

    Ok sir & thnq sir

  • @nikitasinha8181
    @nikitasinha8181 Před 3 lety

    Thank you

  • @TechTricksUnleashed
    @TechTricksUnleashed Před 6 měsíci

    Okay Sir! Got you

  • @himanshuupadhyay610
    @himanshuupadhyay610 Před 5 měsíci

    Best 🎉

  • @ITBootcampbyMissAzeemi
    @ITBootcampbyMissAzeemi Před 6 měsíci

    great explaination your top fa here

  • @rajashreepati19
    @rajashreepati19 Před 2 lety

    Thank you so much sir!

  • @haswanth_kumar17
    @haswanth_kumar17 Před 2 lety +1

    Ok saved my time sir 😘

  • @toshitaditya3567
    @toshitaditya3567 Před 2 lety

    very good sir

  • @devarshmakwana2140
    @devarshmakwana2140 Před 2 lety +2

    Okay 👌

  • @vedpratapsingh14
    @vedpratapsingh14 Před 6 měsíci +1

    0-1 Knapsack's recursive equation focuses on the two options for considering each object.
    00:06

    0/1 Knapsack Problem
    02:27

    Understanding the recursive equation for the 0/1 Knapsack Problem is crucial
    04:37

    Understanding the recursive equation for the 0/1 Knapsack problem
    06:32

    Explaining the recursive equation for the 0/1 Knapsack Problem
    08:35

    0/1 Knapsack Problem explained using Recursive Equation and Recursion Tree Time Complexity
    10:30

    Dynamic Programming reduces time complexity of 0/1 Knapsack problem
    12:14

    Time complexity reduced from exponential to n times m through dynamic programming
    14:16

    Dynamic programming saves time by optimizing computations
    16:23

  • @ashishvishwakarma8279

    u r the super genius 🥰

  • @divyanshudwivedi3756
    @divyanshudwivedi3756 Před rokem

    Thanks sir !!!

  • @HarshKumar-lu8qk
    @HarshKumar-lu8qk Před 2 lety

    okkk. thnks for amazing playlist

  • @amarnathprajapati2543
    @amarnathprajapati2543 Před 2 lety

    OK
    Recursive equation of 0/1 Knapsack Samajh me aa gaya , Sir

  • @nadeemhussain4080
    @nadeemhussain4080 Před rokem

    Congratulations for 1 million sir

  • @MadhuryaMozumderRA
    @MadhuryaMozumderRA Před 3 lety

    Also sir, please do make a video on multistage graphs

  • @explorer_9579
    @explorer_9579 Před 3 lety

    Okay sir👍

  • @reenayadav8468
    @reenayadav8468 Před 2 lety

    👍 okie

  • @tiwariashu9291
    @tiwariashu9291 Před 2 lety +1

    Yes varun sir

  • @itsentertainmnt0122
    @itsentertainmnt0122 Před 2 lety

    so nice sir i love your all lecture

  • @priteshyadav4479
    @priteshyadav4479 Před 2 lety +4

    Tomorrow is my exam and I had started learning Ada from today morning from your channel. But because of the way u teach I think that I can do sth gr8 in the RGPV exam tomorrow 😅
    Thank u for that efforts to make engineering studies so easy and cool ❤️

  • @TOP5Momentsyt
    @TOP5Momentsyt Před 2 lety +1

    That same line when you repeat...! 😀

  • @salaooddinansari311
    @salaooddinansari311 Před rokem

    Done 👍🏻

  • @trueandfalse4261
    @trueandfalse4261 Před rokem

    Ok sir👍

  • @SiddhantPatel-ri2hi
    @SiddhantPatel-ri2hi Před rokem

    Thank you sooo much sir...!!!!!!!!

  • @dnagardhankar
    @dnagardhankar Před 2 lety +1

    all correct

  • @gandhamhimabindu3119
    @gandhamhimabindu3119 Před 2 lety +1

    Okay sir😄

  • @deepakperla6065
    @deepakperla6065 Před 3 lety +25

    sir, please release the dynamic prog. videos faster.

  • @prathamwagare9721
    @prathamwagare9721 Před rokem

    best sir best

  • @Minecraft-hl2ik
    @Minecraft-hl2ik Před 10 měsíci

    Okayyyyyy Sir
    Thank You so much!!!!!!!!!

  • @rahullodhi3993
    @rahullodhi3993 Před rokem

    Okay sir❤❤❤

  • @pundlikpatil2380
    @pundlikpatil2380 Před 2 lety +1

    Okay 🙏

  • @manojsinghbhandari4280

    bawa tumne pass kra diya

  • @ayushnigam9424
    @ayushnigam9424 Před 3 lety

    THANKYOU SIR

  • @32-palsachin16
    @32-palsachin16 Před 2 lety

    ok samaj aa gya

  • @likhithS2321
    @likhithS2321 Před 10 měsíci

    Thank you sir

  • @fareedec3047
    @fareedec3047 Před 3 lety

    8:19 ok sir , thanks alot

  • @ganeshh2549
    @ganeshh2549 Před 2 lety

    Ok sir understood

  • @hardikyagupta4502
    @hardikyagupta4502 Před 2 lety +1

    Okay!

  • @noorulainrana124
    @noorulainrana124 Před 11 měsíci

    Thanks

  • @divakerkumarroy1276
    @divakerkumarroy1276 Před 2 lety +2

    ok guru jee