Question: We define the problem INDEPENDENT SET as follows. INDEPENDENT SET Input: A graph (mathbf{G}) and an integer (k). Output: YES if there is a subset

We define the problem INDEPENDENT SET as follows.

INDEPENDENT SET

Input: A graph \(\mathbf{G}\) and an integer \(k\).

Output: YES if there is a subset \(\mathbf{S}\) of the vertices in \(\mathbf{G}\) of size \(k\) or greater such that no edge connects any two vertices in \(\mathbf{S}\), and \(\mathrm{NO}\) otherwise.

Assuming that CLIQUE is \(\mathcal{N} \mathcal{P}\)-complete, prove that INDEPENDENT SET is \(\mathcal{N} \mathcal{P}\)-complete.

Step by Step Solution

3.32 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To prove that INDEPENDENT SET is NPcomplete we need to show two things 1 INDEPENDENT SET is in NP 2 ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Practical Introduction To Data Structures Questions!