The problems 3-SAT and 2-SAT are

2004

The problems 3-SAT and 2-SAT are

  1. A.

    both in P

  2. B.

    both NP-complete

  3. C.

    NP-complete and in P respectively

  4. D.

    undecidable and NP-complete respectively

Attempted by 13 students.

Show answer & explanation

Correct answer: C

3-SAT is NP-complete, meaning it cannot be solved in polynomial time unless P=NP. 2-SAT, on the other hand, is solvable in polynomial time using algorithms such as finding strongly connected components in implication graphs. Therefore, 3-SAT is NP-complete and 2-SAT is in P.

Explore the full course: Gate Guidance By Sanchit Sir