Statement
Lemma
Clique of a given size problem is in NP.
Proof
This problem is in the form of a search problem as either you provide a clique of the required size or you say no such set exists.
For a undirected graph
- Check
. - Check for all
for all . The first step takes and the second .
Therefore this problem is in NP.