Page 1 of 1
Problem 1 (30 pts). The SUBSET SUM problem is defined as follows: given n non-negative integers w₁, W2, ..., wn and a no
Posted: Mon Jun 06, 2022 5:25 pm
by answerhappygod

- Problem 1 30 Pts The Subset Sum Problem Is Defined As Follows Given N Non Negative Integers W W2 Wn And A No 1 (24.83 KiB) Viewed 34 times

- Problem 1 30 Pts The Subset Sum Problem Is Defined As Follows Given N Non Negative Integers W W2 Wn And A No 2 (4.87 KiB) Viewed 34 times
Problem 1 (30 pts). The SUBSET SUM problem is defined as follows: given n non-negative integers w₁, W2, ..., wn and a non-negative integer T, determine if there exists a subset I C {1,2,..., n} such that Σετ W; = T.
Show that SUBSET SUM is NP.