Skip to content

Commit 566bbf0

Browse files
committed
fix error in doctest
1 parent 04c6a26 commit 566bbf0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dynamic_programming/minimum_partition.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
"""
2-
Partition a set into two subsets such that the difference of subset sums is minimum
3-
"""
4-
5-
61
def find_min(arr):
72
"""
3+
Partition a set into two subsets such that the difference of subset sums is minimum
4+
85
Examples:
96
>>> find_min([1, 6, 11, 5])
107
1

0 commit comments

Comments
 (0)