Question: Consider the decision problem 1-intersect. Given subsets S 1 , ..., S m of [n], return yes if there is a subset A [n] such

Consider the decision problem 1-intersect. Given subsets S1, ..., Sm of [n], return yes if there is a subset A [n] such that for all j [m], we have |Sj A| = 1. Otherwise, return no. As an example, let n = 6 and consider the instance consisting of the following subsets.

S1 = {1, 2}, S2 = {1, 5, 6}, S3 = {3, 4, 5, 6}, S4 = {2, 3, 6}, S5 = {2, 4, 6}

The correct output for this instance is yes since choosing A = {2, 5} will intersect each Sj once. Prove that 1-intersect is NP-complete. Hint: Recall the 3-coloring problem.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!