Skip to content

Commit d4d24a6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0bbf0ea commit d4d24a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

greedy_methods/minimum_coin_change.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import sys
22
from doctest import testmod
3+
34
"""
45
Test cases:
56
Do you want to enter your denominations ? (Y/N) :N
@@ -40,6 +41,8 @@
4041
Following is minimal change for 456 :
4142
100 100 100 100 5 5 5 5 5 5 5 5 5 5 5 1
4243
"""
44+
45+
4346
def find_minimum_change(denominations: list[int], value: int) -> list[int]:
4447
"""
4548
Find the minimum change from the given denominations and value.

0 commit comments

Comments
 (0)