Sum of Subsets Problem using Backtracking || Design and Analysis of Algorithms || DAA

Sdílet
Vložit
  • čas přidán 7. 08. 2021
  • #sudhakaratchala #daavideos #daaplaylist
    Suppose we are given n distinct positive numbers and we desire to find all combinations of these numbers whose sum is M. This is called a sum of subsets problem.
    The element xi of the solution vector is either ‘1’ or ‘0’ depends on whether the weight wi is included or not
    For a node at level ‘i’ be the left child corresponding to xi =1 and right corresponds to xi =0

Komentáře • 31

  • @SpeedBus1725
    @SpeedBus1725 Před rokem +16

    Ur helping so many students really
    Thank you sir 👍👍

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Tech_box_12
    @Tech_box_12 Před rokem +10

    Sir where is 8 by 8 queens problem

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem +2

      n queens problem video is uploaded, go through that video. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @bhargav5611
    @bhargav5611 Před rokem +1

    Nice explanation sir thank you

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

    Thank you so much sir

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

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Ontherocks1
    @Ontherocks1 Před 7 měsíci +1

    Sir if the question is lengthy then how many solutions should we find?

    • @SudhakarAtchala
      @SudhakarAtchala  Před 7 měsíci +1

      Explore at least half of the state space tree , you may get 2 to 3 solutions if the question is lengthy. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @LE_MadhukarKota
    @LE_MadhukarKota Před rokem +1

    How many solutions probably we got?? How long we have to do? Hope you respond to my query sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      O to anything. Till we get a solution.
      Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

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

    eagerly waiting for this topic

  • @SandeepKumar-fo8vz
    @SandeepKumar-fo8vz Před rokem +1

    Sir we should do Right Sub Tree as Must and Should Sir for Exam

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @skakramulali6881
    @skakramulali6881 Před rokem

    thanks alot sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @caroldanvers2102
    @caroldanvers2102 Před 2 lety +5

    Thank you sir!
    Sir could you please upload other daa topics like skip lists, avl trees, 2-3 trees, tries, tsp, graph coloring, branch and bound as soon as possible.

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

      Can you please send your syllabus to my mail sudhakar.atchala@gmail.com
      I will try to cover all other topics also. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

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

    Thank you so much sir....very well explained...if we get this subset problem in examination does we need to explore all the nodes no sir???or 2or 3 solutions are enough..... exploring all the nodes may be tym consuming no sir ??

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

    Than you sir ❤

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

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @naveen-kd2uh
    @naveen-kd2uh Před 2 lety +2

    @topper krishna

    • @SudhakarAtchala
      @SudhakarAtchala  Před 2 lety

      K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

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

    Super

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

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

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

    Thank you sir ❤

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

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...