Exams › GATE › Technical
Consider the decision problem 2CNFSAT defined as follows:
{ Φ | Φ is a satisfiable propositional formula in CNF with at most two literals per clause }
For example, Φ = (x1 ∨ x2) ∧ (x1 ∨ x̄3) ∧ (x2 ∨ x4) is a Boolean formula and it is in 2CNFSAT.
The decision problem 2CNFSAT is
- NP-Complete.
- solvable in polynomial time by reduction to directed graph reachability.
- solvable in constant time since any input instance is satisfiable.
- NP-hard, but not NP-complete.
Correct answer: solvable in polynomial time by reduction to directed graph reachability.
Solution
The correct option is right because 2CNFSAT can be transformed into a directed graph problem where the satisfiability of the formula corresponds to finding a path in the graph, allowing it to be solved efficiently in polynomial time.
Related GATE Technical questions
⚔️ Practice GATE Technical free + battle 1v1 →