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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ส.ค. 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

ความคิดเห็น • 31

  • @SpeedBus1725
    @SpeedBus1725 ปีที่แล้ว +17

    Ur helping so many students really
    Thank you sir 👍👍

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @Tech_box_12
    @Tech_box_12 ปีที่แล้ว +10

    Sir where is 8 by 8 queens problem

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว +3

      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..

  • @Bhargav1245-g7dc
    @Bhargav1245-g7dc ปีที่แล้ว +1

    Nice explanation sir thank you

  • @modemharikumar9232
    @modemharikumar9232 3 ปีที่แล้ว +2

    eagerly waiting for this topic

    • @SudhakarAtchala
      @SudhakarAtchala  3 ปีที่แล้ว +1

      K Hari

    • @tkeerthi4505
      @tkeerthi4505 3 ปีที่แล้ว

      @@SudhakarAtchala more examples on this topic plz

  • @caroldanvers2102
    @caroldanvers2102 3 ปีที่แล้ว +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  3 ปีที่แล้ว +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.

  • @srikameswari6382
    @srikameswari6382 3 ปีที่แล้ว +1

    Thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 ปีที่แล้ว +1

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

  • @muttumruthyunjaya1587
    @muttumruthyunjaya1587 10 หลายเดือนก่อน

    Than you sir ❤

    • @SudhakarAtchala
      @SudhakarAtchala  10 หลายเดือนก่อน

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

  • @skakramulali6881
    @skakramulali6881 ปีที่แล้ว

    thanks alot sir

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @SandeepKumar-fo8vz
    @SandeepKumar-fo8vz ปีที่แล้ว +1

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

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @sujathaganesna9604
    @sujathaganesna9604 3 ปีที่แล้ว +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 ??

  • @naveen-kd2uh
    @naveen-kd2uh 2 ปีที่แล้ว +2

    @topper krishna

    • @SudhakarAtchala
      @SudhakarAtchala  2 ปีที่แล้ว

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

  • @LE_MadhukarKota
    @LE_MadhukarKota ปีที่แล้ว +1

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

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @Ontherocks1
    @Ontherocks1 7 หลายเดือนก่อน +1

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

    • @SudhakarAtchala
      @SudhakarAtchala  7 หลายเดือนก่อน +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..

  • @abhi7333
    @abhi7333 11 หลายเดือนก่อน

    Super

    • @SudhakarAtchala
      @SudhakarAtchala  11 หลายเดือนก่อน

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

  • @atharvashetty5624
    @atharvashetty5624 5 หลายเดือนก่อน

    Thank you sir ❤

    • @SudhakarAtchala
      @SudhakarAtchala  5 หลายเดือนก่อน

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