Find all unique combinations of numbers that sum to a target.
Constraints
Example
>>> combination_sum([2,3,6,7], 7) [[2, 2, 3], [7]] >>> combination_sum([2,3,5], 8) [[2, 2, 2, 2], [2, 3, 3], [3, 5]] >>> combination_sum([2], 1) []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints