Max Clique - NP Problem

1.3k Views Asked by At

The question is to show that the recognition version of Clique is in NP.

I have started with a graph G=(V,E) and integer k such that G does have a clique C of cardinality k. How to proceed further from here?

Thanks in advance for any help.

2

There are 2 best solutions below

2
On

The idea is that given a set $C$ of vertices, you can check in polynomial time whether $C$ is a clique of cardinality $k$.

0
On

Why don't you even try to find the solution in wikipedia? http://en.wikipedia.org/wiki/Clique_problem#NP-completeness