Skip to content

Commit bd5b301

Browse files
Update knapsack.py
1 parent b6b2e18 commit bd5b301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knapsack/knapsack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def knapsack(
3434
3535
Given the repetition is allowed,
3636
the result is 300 cause the values of 60*5 (pick 5 times)
37-
which is the limit of the capacity.
37+
got the weight of 10*5 which is the limit of the capacity.
3838
"""
3939

4040
@lru_cache

0 commit comments

Comments
 (0)