[ad_1]
For an input {x1, …, xn}, return 2n-1 (x1 + … + xn), since each term appears in that many sums.
1
[ad_2]
solved Finding the sum of all subsets of a given set
[ad_1]
For an input {x1, …, xn}, return 2n-1 (x1 + … + xn), since each term appears in that many sums.
1
[ad_2]
solved Finding the sum of all subsets of a given set