We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0975b24 commit ba22496Copy full SHA for ba22496
1 file changed
backtracking/combination_sum.py
@@ -60,7 +60,6 @@ def combination_sum(candidates: list, target: int) -> list:
60
61
if any(x < 0 for x in candidates):
62
raise ValueError("All elements in candidates must be non-negative.")
63
-
64
backtrack(candidates, path, answer, target, 0)
65
return answer
66
0 commit comments