L-5.2: 0/1 Knapsack failed using Greedy approach

Поделиться
HTML-код
  • Опубликовано: 22 фев 2020
  • #0/1knapsack#dynamicProgramming#algorithm
    👉Subscribe to our new channel: / @varunainashots
    ►Link of Greedy knapsack: • L-4.2: Knapsack Proble...
    ► 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 RUclips: / 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

Комментарии • 149

  • @subhasishsarkar1853
    @subhasishsarkar1853 3 года назад +63

    the word written on your T-shirt perfectly defines you

  • @lgcreations4673
    @lgcreations4673 Год назад

    Most of the important thing you teach in very less time while other are teaching it in 30-40 min thats what makes you great

  • @adityadalwadi4116
    @adityadalwadi4116 4 года назад

    Sir please please continue this this is very very usefull content and i had join gate smasher for last 1 year ... it's very very good channel.. thank you so much sir......

  • @ajinkyajadhav8680
    @ajinkyajadhav8680 4 года назад +5

    Thank you sir for all these videos. Request you to upload the remaining videos

  • @rajdave2410
    @rajdave2410 3 года назад +1

    Thankyou bhai for this great explaination & you worked hard! Great work ❤️

  • @chaitalimazumder4268
    @chaitalimazumder4268 4 года назад +2

    Sir pls upload the rest videos...ur way of explanation is too good😊

  • @prajwalapathak3566
    @prajwalapathak3566 4 года назад +3

    thank you so much sir for such a beautiful explanation

  • @RaviKumar-jg1hc
    @RaviKumar-jg1hc 4 года назад +1

    You are doing amazing job ....it really helps us ... plz keep making videos...

  • @madhurimaburagohain7438
    @madhurimaburagohain7438 3 года назад

    Please upload new topics on DAA.. Your explanations are amazing.

  • @proudindian4771
    @proudindian4771 4 года назад +16

    Excellent 👍 explanation sir 👌, we are glad to have you in our LPU 🙏

  • @mental-block
    @mental-block 4 года назад +6

    Thanks Varun. Watched this series in one single shot. Is there any plan to put remaining videos in this series ?

    • @Profnegi
      @Profnegi 6 месяцев назад

      chota bhai hai varun? sir bolo

  • @akashtripathy1334
    @akashtripathy1334 4 года назад +20

    Sir when will you upload the remaining part of DAA....
    We all are waiting...plz sir upload it soon

  • @ajitha4975
    @ajitha4975 4 года назад

    Wonderful explanation sir ..thank you...

  • @rohitahuja999
    @rohitahuja999 4 года назад +1

    Sir u teach very well I have watched all ur videos I just want u to upload 8 queen problem coz ur explanation is best

  • @Ounknown098
    @Ounknown098 11 месяцев назад

    Yr brother bahot acha padhate ho mere doubt clear hote hai

  • @mddeloarhossain5997
    @mddeloarhossain5997 4 года назад +7

    Plz upload the full playlist of DAA.

  • @ankittiwari6751
    @ankittiwari6751 3 года назад +1

    Awesome explanation 👍👍😘😘🙏🙏🙏 thanku soo much sir .....but I have doubt do we need to sort weights in ascending order and in accordance with weight we also sort the profits......
    Plz clear my doubt sir 🙏🙏🙏🙏

  • @sratnamanjari244
    @sratnamanjari244 4 года назад

    Thank You So Much Sir

  • @apporvaarya
    @apporvaarya 4 года назад

    Nice playlist

  • @pravinkava5822
    @pravinkava5822 4 года назад

    Please upload remaining portion it is very helpful

  • @kajaltaneja6231
    @kajaltaneja6231 4 года назад

    Please provide videos for other topics of daa as well !

  • @ranitbarman6471
    @ranitbarman6471 2 года назад

    Sir, upload the video for matrix chain multiplication, Assembly Line Scheduling, and Principle of Optimal Subtraction

  • @GAU-C--RATNAKANTAHANSE
    @GAU-C--RATNAKANTAHANSE 3 года назад

    Thank you sir...

  • @Sudeshsorout
    @Sudeshsorout 4 года назад

    Bahut badhiya sir g

  • @ishwardayal7809
    @ishwardayal7809 2 года назад +2

    Nice explaination

  • @garimajain_3953
    @garimajain_3953 4 года назад +5

    Sir, you teach really well ....plzz upload the remaining portion of DAA

  • @imagica_w1264
    @imagica_w1264 3 года назад +6

    nice explaination sir
    one doubt sir- partial knapsack algo result- 20+60+{(2/4)*25}= 92.5
    and brute force method result= 85
    than how can it be better than partial knapsack algo.

    • @yogeshrai3321
      @yogeshrai3321 2 года назад

      bhaii...ye partial knapsack and 0/1 knapsack ko ekk similar samajh k confussion create n karo oo ekk alag method hai alag technique haai aur ye alag hai jiska aanswer alag alag hi aayega aur tum dono alag alag technique lagaa k same answer pane ki umid kaise rakh rahe ho....which is totally wrong

  • @nikhilarora7375
    @nikhilarora7375 4 года назад +27

    Sir plz upload the full playlist for DAA for University exams💘🙏🏾🙏🏾🙏🏾🙏🏾

  • @shivamKumar-kv9fn
    @shivamKumar-kv9fn 3 года назад

    लाल फूल
    नीला फूल
    Sir ji beautiful.....💛
    Nice explanation sir

  • @kunalsoni7681
    @kunalsoni7681 4 года назад

    Nice explanation

  • @minivashishta9288
    @minivashishta9288 4 года назад

    Thanku, sir

  • @ayushiyadav1
    @ayushiyadav1 2 месяца назад

    2:16 thanks for making it clear...

  • @HiMu2324
    @HiMu2324 4 года назад +1

    Sir please upload remaining videos....we all are eagerly waiting...🙏

  • @vishalramoju5432
    @vishalramoju5432 3 года назад

    His shirt describes his work !!

  • @mayankuniyal1829
    @mayankuniyal1829 2 года назад

    Thankyou sir

  • @jiyakumari2540
    @jiyakumari2540 4 года назад

    Thank u too

  • @unemployedcse3514
    @unemployedcse3514 3 месяца назад

    awesome ❤

  • @crazyindia-lifeandlove4832
    @crazyindia-lifeandlove4832 4 года назад +4

    sir please upload remaining portion of ALGORITHM

  • @souravbhagat1358
    @souravbhagat1358 4 года назад

    Sir please uplaod maximum lectures on Design and Analysis of algorthms to

  • @priyankakunwar6993
    @priyankakunwar6993 4 года назад

    Thnks Sir

  • @shivrajahirwar4334
    @shivrajahirwar4334 4 года назад

    very nice sir

  • @sonaliverma1562
    @sonaliverma1562 4 года назад

    Amazing explanation sir

  • @VikasGupta-mf9vi
    @VikasGupta-mf9vi 4 года назад +1

    Sir please upload all the remaining videos..

  • @lavankumarb9115
    @lavankumarb9115 4 года назад +1

    Sir plz upload vedios on other concepts of daa sir..

  • @jagrtimehta7716
    @jagrtimehta7716 4 года назад +10

    Gud evng sir... Plz sir DAA ka complete syllabus videos upload kr di jiye...🙂

  • @MonikaSharma-ur6wx
    @MonikaSharma-ur6wx 4 года назад +1

    Hi sir,ap LCS Pblm, travelling salesperson pblm, matrix chain ,sum of subst pblm and multistage graph..in topic video upload kb karoge ap..

  • @sayantansarkar6900
    @sayantansarkar6900 Год назад

    After selecting ob1 and ob3, only 2 weight is left to filled, as the capacity of the knapsack is 12. Can we select another ob1, since it is of weight 2? Are duplicates allowed?

  • @23ritik
    @23ritik 4 года назад

    please complete the course
    and also start DATA STRCTURES complete

  • @mukultarania630
    @mukultarania630 4 года назад +4

    Sir, when will you upload the remaining portion of Algorithm. And please sir placement ke point se bhi pdhao.

  • @GamerMANYA
    @GamerMANYA 4 года назад

    We want this topic next video Sir

  • @bhumisavaliya5752
    @bhumisavaliya5752 3 года назад

    Good sir

  • @sandipsarkar1516
    @sandipsarkar1516 3 года назад

    Sir please Make a video on Subset sum problem and Longest Common Subsequence

  • @priyanshigupta8332
    @priyanshigupta8332 4 года назад +4

    Thank you sir
    sir when will the next video come?

    • @GamerMANYA
      @GamerMANYA 4 года назад

      Ha sir ye topic ka next video

  • @animeshhazra6061
    @animeshhazra6061 Год назад

    Nice

  • @barkhakarakoti4199
    @barkhakarakoti4199 4 года назад +1

    Sir please upload the next video. 🙏

  • @ayushideotare7494
    @ayushideotare7494 4 года назад +1

    Sirr can u make videos on backtracking and related topics...

  • @PraveenKumar-yl2hz
    @PraveenKumar-yl2hz 6 месяцев назад +1

    Sir you said we are 1st using Greedy approach to solve this problem then you didn't add the remaining 2 part with the remaining object 2 you kind of mind both the approaches

  • @mohammadnadeemakhtar4166
    @mohammadnadeemakhtar4166 4 года назад +2

    upload video sir according to NIELIT Exam sir..

  • @asif_sayyed
    @asif_sayyed Год назад

    Can't we put object 1 (of 20 value & 2 weight) 6 times =120 profit?

  • @athukhoshad6653
    @athukhoshad6653 4 года назад +26

    Sir, when will you upload the remaining portion of Algorithm..

  • @theentertainmentmultiplex7160
    @theentertainmentmultiplex7160 3 года назад

    Sir iske aage ka video banaiye.
    Napsak problem and MCM, etc

  • @miss_agrawal2301
    @miss_agrawal2301 3 года назад

    Please upload the remaining lectures soon

  • @nishasharma-sn3nq
    @nishasharma-sn3nq 4 года назад

    Hello sir... sir dynamic problem k aur concept v video upload kar do.....

  • @shreyasrivastava4034
    @shreyasrivastava4034 3 года назад

    Sir when will u upload the rest topics...sir please upload immediately..

  • @RekhaSingh-ym7pd
    @RekhaSingh-ym7pd 4 года назад

    When u will upload the next video sir

  • @AabidKhan-bv7qk
    @AabidKhan-bv7qk 4 года назад

    sir plzzz upload full playlist

  • @tiyashadas5247
    @tiyashadas5247 4 года назад

    Sir please upload the rest soon.

  • @aryangoyal2252
    @aryangoyal2252 3 года назад

    partial knapsack problem discussed in greedy method was fractional knapsack ??

  • @AJAYYADAV-sk8fq
    @AJAYYADAV-sk8fq 4 года назад

    Aap DAA KI VIDEOS BAHUT DIN BAD BNA RHE HO

  • @deepmukherjee2131
    @deepmukherjee2131 Год назад

    Sir I have a doubt.
    Agar mera object 8 raha that's means 2^8
    To usko binary mey represent karna to bahoot muskil ha to us time mey kya kare?

  • @sakshisinghrajput3559
    @sakshisinghrajput3559 4 месяца назад

    Sir, while solving above knapsack problem by greedy method, wouldn't we'll take object having weight 2, 6 times, so that it gives profit =120?

  • @historynspace4571
    @historynspace4571 6 месяцев назад

    jero jero jero😂😂😂

  • @uzairnaseem8040
    @uzairnaseem8040 Год назад +1

  • @AJAYYADAV-sk8fq
    @AJAYYADAV-sk8fq 4 года назад

    Sir daa ka syllabus complete karwa do phir paper aa jayega so plz keep making videos on this

  • @mohitbhatia_ai_and_ds
    @mohitbhatia_ai_and_ds Год назад

    5:42 ob1 has weight 2, it can be stored in knapsack????

  • @c.danielpremkumar8495
    @c.danielpremkumar8495 4 года назад

    4:50 why can't we take 6 Nos of Object 1 ?

  • @KajalKumari-ce3jr
    @KajalKumari-ce3jr 4 года назад +1

    Sir plzz upload next video...

  • @jasminmalhot7829
    @jasminmalhot7829 5 месяцев назад

    If following greedy approach then after fraction of obj2 can't we gain optiomal output

  • @bhavyarajput209
    @bhavyarajput209 4 года назад

    sir please upload the remaining portion soon

  • @ayushpandey721
    @ayushpandey721 4 года назад +1

    Next video?

  • @amritamishra2380
    @amritamishra2380 3 года назад

    Sir plz upload all vedio related to DAA

  • @AabidKhan-bv7qk
    @AabidKhan-bv7qk 4 года назад

    sir complete the playlist plzzzz

  • @neerajsharma4394
    @neerajsharma4394 4 года назад

    Sir why didn't u uploaded remaining lectures

  • @souravbhagat1358
    @souravbhagat1358 4 года назад

    Sir please uplaod remaining the videos ..

  • @surajsonivlogs2v
    @surajsonivlogs2v 4 года назад

    Hello sir
    Next video nhi mil rha mujhe DAA ka 29 hi video h kya sir

  • @BiswajitPatra-xn6xw
    @BiswajitPatra-xn6xw 4 года назад

    sir nielit/NET k liye daa ka 29 video kya kafi hai????????? LCS Pblm, travelling salesperson pblm, matrix chain ,sum of subst pblm and multistage graph..plz upload FULL DAA syllabus video

  • @VishalYadav-ss4qv
    @VishalYadav-ss4qv 4 года назад

    Sir please upload all videos 🙏🙏🙏

  • @divyagoud192
    @divyagoud192 4 года назад

    Sir plz upload the remaining videos

  • @AbhishekYadav-jc1cl
    @AbhishekYadav-jc1cl 4 года назад

    Sir DAA se related or videos upload kijiye please

  • @rajukumarmishan2494
    @rajukumarmishan2494 3 года назад

    Sir when will you upload the 0/1 knapsack problem next part?

  • @23ritik
    @23ritik 4 года назад

    yeh course complete kb tk hoga??

  • @trisharc7981
    @trisharc7981 3 года назад +6

    What about fractional stuffing of the remaining item? The greedy technique allows that, right? Then, (25/4)*2 should be added and then the profit would become 92.5 . And that would be the optimal answer using greedy.
    Correct me if I am wrong.

    • @manavkampani594
      @manavkampani594 2 года назад

      Kindly read the problem statement properly first.

    • @alhaquekhan938
      @alhaquekhan938 2 года назад

      It's 0/1 knapsack so fraction is not allowed

    • @gamingworld2168
      @gamingworld2168 2 года назад +1

      @@alhaquekhan938greedy approach is discussed first,where he said while explaining that half of the fraction of second object would have been added in the case of greedy approach , so first completing the profit obtained due to greedy approach comes out to be 92.5

  • @sohanaggarwal8770
    @sohanaggarwal8770 2 года назад

    why can't the objects be duplicated or replicated?

  • @shivarajput9719
    @shivarajput9719 4 года назад

    sir nimcet prepration se related kuch bta do

  • @aanchalsharma2567
    @aanchalsharma2567 4 года назад

    Hello sir... I m an ece student and want to conver cse syllabus just according to nielit exam.. Please specify whether we need to cover all lectures of DAA ?

    • @HimachalTourism1306
      @HimachalTourism1306 4 года назад

      Yes, of course, if you want to get a depth knowledge then you need to start from data structure very first, because it is base fore learning DAA...

  • @annumalik3863
    @annumalik3863 4 года назад

    Thanx sir..Sir apka koi paid course hai Kya?

  • @aninditamohanta2310
    @aninditamohanta2310 4 года назад +2

    Sir please upload the remaining portion of Algorithm....

  • @sonalthakur335
    @sonalthakur335 4 года назад

    Please upload remaining syllabus

  • @lalitasingh4570
    @lalitasingh4570 4 года назад

    please full course vedio

  • @seemakumari5141
    @seemakumari5141 3 года назад

    where is the dynamic part??????????????????????????????