Hi, here’s your problem today. This problem was recently asked by Twitter:
Given a list of numbers and a target number, find all possible unique subsets of the list of numbers that sum up to the target number. The numbers will all be positive numbers.
Here’s an example and some starter code.
def sum_combinations(nums, target):
Fill this in.
print(sum_combinations([10, 1, 2, 7, 6, 1, 5], 8))