This question evaluates combinatorial search and algorithmic problem-solving skills, focusing on recursion/backtracking, unbounded item usage, and enforcing uniqueness of combinations.
Given an array of distinct positive integers candidates and an integer target, return all unique combinations of candidates where the chosen numbers sum to target.
Rules:
Example:
candidates = [2,3,6,7]
,
target = 7
[[2,2,3],[7]]
Constraints (typical):
1 <= candidates.length <= 30
1 <= candidates[i] <= 200
1 <= target <= 500