EXAM 3
Enhanced Graduate Algorithms Study Guide — 2026
Focus: NP-completeness, polynomial reductions, Independent Set, 3SAT, approximation algorithms, and
exam-style reasoning.
Original study resource: This guide does not reproduce the paid Stuvia document, its claimed 46+ questions, answer key, or any
protected course assessment.
, 1. Exam 3 Map: Complexity & Intractability
Georgia Tech's CS 6515 is a graduate algorithms course covering algorithm design and analysis; the official course description
includes NP complexity theory. The public preview associated with the linked Stuvia item emphasizes P/NP, NP-hardness,
reductions, and graph/3SAT relationships.
• P: decision problems solvable in polynomial time.
• NP: decision problems whose YES certificates can be verified in polynomial time.
• NP-hard: at least as hard as every problem in NP under polynomial-time reductions; it need not itself be in NP.
• NP-complete: both in NP and NP-hard.
• Containment: P ⊆ NP; whether P = NP remains unresolved.
Q. Does NP mean 'not polynomial'?
Answer / rationale: No. NP means polynomial-time verification of a certificate; a problem can be in both P and NP.
Q. What proves NP-completeness?
Answer / rationale: Show the problem is in NP and show it is NP-hard, usually by reducing a known NP-complete problem to it.
2. Polynomial-Time Reductions
Reductions are a core exam skill: the arrow direction determines which problem inherits hardness.
• A ≤p B: transform any instance of A into an instance of B in polynomial time while preserving YES/NO.
• Direction matters: A → B means B is at least as hard as A.
• Transitivity: A ≤p B and B ≤p C implies A ≤p C.
• Hardness transfer: if A is NP-hard and A ≤p B, then B is NP-hard.
• NP-complete target: after proving hardness, also prove B ∈ NP.
Q. If A is NP-complete and A ≤p B, what follows?
Answer / rationale: B is NP-hard; B is NP-complete only if B is also shown to be in NP.
Q. Why is reversing the arrow dangerous?
Answer / rationale: A reduction from B to a known hard A does not show B is hard. Hardness transfers when the known hard
problem reduces to B.
3. Reduction Proof Template
• 1. Start with arbitrary instance I of source A.
• 2. Construct f(I), an instance of target B.
• 3. Show f(I) is computable in polynomial time.
• 4. Prove I is YES ⇒ f(I) is YES.
• 5. Prove f(I) is YES ⇒ I is YES.
• 6. Conclude A ≤p B and transfer hardness.
Q. Why prove both directions?
Answer / rationale: A valid reduction must preserve the decision answer; one direction alone can allow false positives or false
negatives.
4. 3SAT Fundamentals