News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by jcranmer on Friday July 22, 2022 @04:26PM (#32196720)
I think I understand why you're confused here. To the extent that union-find is similar to SAT, it's similar to 2-SAT: the constraints you're reasoning about are defined only on pairs of elements, whereas 3-SAT is fundamentally reasoning about triplets (at least one of these three variables is true). Notably, 2-SAT is a variant of SAT that is polynomial in time, unlike 3-SAT.

There are no comments on this comment yet.