Back to the 2024 paper

Module 4: Tractable and Intractable Problems

20242m

What is the primary technique used to prove that a problem is NP-complete?
(i) Divide and conquer
(ii) Dynamic programming
(iii) Polynomial-time reduction from a known NP-complete problem
(iv) Space complexity calculation

Worked SolutionAI Assisted

Answer: (iii) Polynomial-time reduction from a known NP-complete problem

Explanation:

To prove LL is NP-complete you must show:

  1. L∈NPL \in NP (verifiable in polytime), and
  2. LL is NP-hard: pick a known NP-complete problem L0L_0 (e.g., 3-SAT) and give a polynomial-time reduction L0≤pLL_0 \le_p L.

By transitivity of ≤p\le_p, hardness of L0L_0 transfers to LL. Subsequent proofs often use Cook's theorem (SAT is NP-complete) as base.

Divide-and-conquer / DP / space calculation do not establish NP-hardness.

Correct choice: (iii)

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.