Skip to content

Commit 91ad9c6

Browse files
Update sum_of_subsets.py
1 parent 137fa10 commit 91ad9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtracking/sum_of_subsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def generate_sum_of_subsets_solutions(nums: list[int], max_sum: int) -> list[list[int]]:
1212
"""
13-
The main function. For list of numbers 'nums' find the the subsets with sum
13+
The main function. For list of numbers 'nums' find the subsets with sum
1414
equal to 'max_sum'
1515
>>> generate_sum_of_subsets_solutions([3, 34, 4, 12, 5, 2], 9)
1616
[[3, 4, 2], [4, 5]]

0 commit comments

Comments
 (0)