pull/6/head
yuanguangxin 5 years ago
parent 72fc0f3819
commit 3ecec23b60

@ -30,9 +30,7 @@ class Solution {
if (!set.contains(candidates[i]) && target >= candidates[i]) {
stack.push(candidates[i]);
helper(candidates, target - candidates[i], i + 1, stack, res);
System.out.println(stack + "before");
stack.pop();
System.out.println(stack + "after");
set.add(candidates[i]);
}
}

Loading…
Cancel
Save