Given an array of distinct positive integers candidates and a target, return all unique combinations that sum to target. The same candidate may be used unlimited times.
Input
targetOutput: one combination per line, elements in non-decreasing order. Print nothing if none exist.
2 3 6 7 7
2 2 3 7
2 3 5 8
2 2 2 2 2 3 3 3 5
2 1
Run your code against the sample tests, or Submit to run the full suite.