|
CS 3343 Analysis of Algorithms Fall 2012 Recitation 14 Final Review Week 14: Dec 4-Dec 6 Due (on time): 2012-12-10 23:59:59 Due (late): 2012-12-11 22:00:00 |
Recitation 14 should be submitted following directions at:
submissions
with deadlines
|
Subset-Sum Problem (SS): Start with a set A of positive integers and a desired sum S. The decision question: Is there a subset A' of A such that sum( a | a in A' ) = S? |
Partition Problem (PART): Start with a set A of positive integers. The decision question: Is there a subset A' of A such that sum( a | a in A' ) = sum( a | a in A - A' )? [Here A - A' is the complement of A' in A.] |
|
|