Graph Theory37 sections · 1633 units
Open in Course

Quiz: Recognizing 2-SAT

Knowledge check

Check Your Understanding

A problem says: "You have nn items, each colored red or blue. Some pairs must be different colors." Can you model this as 22-SAT?

  1. A.No, because 22-SAT only handles implications, not difference constraints
  2. B.No, because this requires 33 or more colors
  3. C.Yes. For each pair (i,j)(i, j), add (xixj)(x_i \lor x_j) and (¬xi¬xj)(\neg x_i \lor \neg x_j)
  4. D.Yes, but only if the underlying graph is bipartite
Start the roadmap to answer the quizzes and solve the challenges