Open In App

GATE | GATE-CS-2014-(Set-1) | Question 48

Suppose a polynomial time algorithm is discovered that correctly computes the largest clique in a given graph. In this scenario, which one of the following represents the correct Venn diagram of the complexity classes P, NP and NP Complete (NPC)?


(A) A
(B) B
(C) C
(D) D

Answer: (D)
Explanation: Clique is an NP complete problem. If one NP complete problem can be solved in polynomial time, then all of them can be. So NPC set becomes equals to P.
Quiz of this Question

Article Tags :