Question: 1 6 . ( 5 points ) Consider the following problems: SUBSET - SUM: Given a set of non - negative integers a 1 ,
points Consider the following problems: SUBSETSUM: Given a set of nonnegative integers aaan and a target S does there exist a subset of the integers whose sum is exactly is S PARTITION: Given a set of nonnegative integers aaan is it possible to partition them into two subsets such that the sum of the elements in both the subsets is equal? Describe a reduction informal is OK showing that PARTITION p SUBSETSUM. Hint: Take an instance of PARTITION and produce an instance of SUBSETSUM; or argue why one problem captures the other.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
