2. A set {1,2,3,4,5) is given. For the set, find every subset that sums to S = 6. a. Solve the problem using the depth f
Posted: Tue May 10, 2022 8:29 pm
2. A set {1,2,3,4,5) is given. For the set, find every subset that sums to S = 6. a. Solve the problem using the depth first method. Just show the final state space tree. b. Find the subsets via backtracking. Just show the (pruned) final state space tree