Skip to content

Commit 811a33a

Browse files
Update and rename Backtracking/combinational_sum.py to General Questions/combinational_sum.py
fixed errors and moved to General Questions folder
1 parent 90ff8f0 commit 811a33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Backtracking/combinational_sum.py renamed to General Questions/combinational_sum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def combinationSum(self, A, B):
4343
# if the target sum is less than 2 or the lis A is empty,
4444
# then retirn an empty list
4545
if B<2 or len(A)==0:
46-
return [[]]
46+
return []
4747

4848

4949
result=[]

0 commit comments

Comments
 (0)