Skip to content
Related Articles
Open in App
Not now

Related Articles

Algorithms | NP Complete | Question 3

Improve Article
Save Article
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

Let X be a problem that belongs to the class NP. Then which one of the following is TRUE?
(A) There is no polynomial time algorithm for X.
(B) If X can be solved deterministically in polynomial time, then P = NP.
(C) If X is NP-hard, then it is NP-complete.

(D) X may be undecidable.

Answer: (C)

Explanation: (A) is incorrect because set NP includes both P(Polynomial time solvable) and NP-Complete .
(B) is incorrect because X may belong to P (same reason as (A))
(C) is correct because NP-Complete set is intersection of NP and NP-Hard sets.
(D) is incorrect because all NP problems are decidable in finite set of operations.

Quiz of this Question

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!