3. (16%) Suppose that n = 3, W = 6, and w1= 2, w2 = 4, W3 = 5, we can construct a tree as follows:
申論題內容
(b) Consider another sum-of-subsets problem with n = 4, W =13, and w1= 3, w2 = 4, w3 = 5, w4 = 6. Use a similar tree as above, give a strategy to avoid searching every possible traversing route in the tree, and show that it can still get to the correct answer. (10%)