All mock tests are FREE till 31 December β€” register to save your progress
Unit 7 Β· Data Structures and Algorithms Paper 2 CS Β· June 2023

A. If some NP-complete problem P is in 𝒫, then 𝒫 = 𝒩𝒫. B. TSP is in 𝒩𝒫. C. SAT is in 𝒩𝒫. D. The Hamiltonian circuit problem is not NP-complete. Which are correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. A, B and C only

Explanation

A polynomial algorithm for one NP-complete problem solves all of NP. The decision versions of TSP and SAT are in NP. The Hamiltonian circuit problem is NP-complete, so D is false.

More Data Structures and Algorithms questions