SubsetSum

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

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

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

    Great video! Came to TH-cam as my cs professor did not explain this 3 SAT -> subset sum reduction clearly. Your explanation was thorough and clear! Please continue to create great content like this, it would be greatly appreciated by CS students like me. Cheers!

  • @welfarewagonrepairs
    @welfarewagonrepairs 9 หลายเดือนก่อน

    This was a very helpful explanation. The part after 13:00 was especially helpful explaining the purpose of the additional rows

  • @queenpost
    @queenpost 7 หลายเดือนก่อน

    Very clear explanation - Thanks!
    One Question:
    What would we do, if we insist, that the numbers given as instance for the SUBST SUM problem are different to each other?

    • @queenpost
      @queenpost 7 หลายเดือนก่อน

      O.K., the solution is given at the end!

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

    when you say to read the numbers as decimal numbers, what do you mean by that?

    • @queenpost
      @queenpost 7 หลายเดือนก่อน

      Not to read them in binary, of course. So 1001 is One Thousand and one and not 9, for example.

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

    Also, what do you mean by there not being any carryovers?

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

      I think when you add variables for w there should be no carryovers, means that we cannot take a literal and its negation in the same clause

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

      He's talking about the sum for any of the columns being >= 10. In that case you'd have to carry over the one to the next column and your reduction is shafted. H explains it at 15:59

    • @queenpost
      @queenpost 7 หลายเดือนก่อน

      @@elliotfouts5939 Exactly!

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

    The subset sum problem does not care about how the numbers are encoded.
    The subset sum problem only cares that the numbers are in fact integers.
    The encoding is completely irrelevant. It's the same problem regardless.

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

    Hervorragend!

  • @AustinWang-r9o
    @AustinWang-r9o ปีที่แล้ว +3

    you should get to the point faster in your vids, thanks.

    • @Spyro-kt8gy
      @Spyro-kt8gy 9 หลายเดือนก่อน +4

      No, I like it this way. Gives me time to process.

  • @liamtolkkinen5025
    @liamtolkkinen5025 9 หลายเดือนก่อน +2

    you really don't explain things well