-3

Finding a clique $C$ in an undirected graph $G= (V, E)$ such that $|C| > |V|/2$ is in P or NP-hard? How can I prove it?

Yuval Filmus
  • 280,205
  • 27
  • 317
  • 514
Lee Yaan
  • 95
  • 3

1 Answers1

0

Given a graph $G=(V, E)$, the problem of finding a clique $C$ with $|C| \ge \frac{|V|}{2}$ is a search problem and, as such, is neither in $\mathsf{P}$ nor in $\mathsf{NP}$ since $\mathsf{P} \subseteq \mathsf{NP}$ and $\mathsf{NP}$ only contains decision problems.

Steven
  • 29,724
  • 2
  • 29
  • 49