SubsetSum

Поділитися
Вставка
  • Опубліковано 28 жов 2024

КОМЕНТАРІ • 16

  • @xinrongwang5768
    @xinrongwang5768 Рік тому +1

    Great video! Came to UA-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 6 місяців тому

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

  • @queenpost
    @queenpost 4 місяці тому

    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 4 місяці тому

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

  • @awepossum1059
    @awepossum1059 10 місяців тому +1

    Hervorragend!

  • @confluenceking1657
    @confluenceking1657 2 роки тому +1

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

    • @queenpost
      @queenpost 4 місяці тому

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

  • @confluenceking1657
    @confluenceking1657 2 роки тому +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 4 місяці тому

      @@elliotfouts5939 Exactly!

  • @SmithnWesson
    @SmithnWesson Рік тому +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.

  • @AustinWang-r9o
    @AustinWang-r9o Рік тому +3

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

    • @Spyro-kt8gy
      @Spyro-kt8gy 6 місяців тому +3

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

  • @liamtolkkinen5025
    @liamtolkkinen5025 6 місяців тому +1

    you really don't explain things well