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.
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.
On
Why don't you even try to find the solution in wikipedia? http://en.wikipedia.org/wiki/Clique_problem#NP-completeness
The idea is that given a set $C$ of vertices, you can check in polynomial time whether $C$ is a clique of cardinality $k$.