SET PARTITION is the decision problem that takes as input a set S of nonnegative
ID: 2941542 • Letter: S
Question
SET PARTITION is the decision problem that takes as input a set S of nonnegative integers and decides if there is a subset A S such that In other words, can the set be partitioned into two subsets, each of whose elements sum to the same value? Is the following a positive instance of SUBSET SUM: S = {2, 5, 10, 13, 19, 21, 25, 29} ? If yes, provide the partition. If not, give a sound argument as to why not. Show that SET PARTITION is polynomial-time reducible to SUBSET SUM. Show that SUBSET SUM is polynomial-time reducible to SET PARTITION.Explanation / Answer
a
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.