Skip to content

Commit 4526deb

Browse files
committed
Update minimum_coin_change.py
2 parents 0473253 + d4d24a6 commit 4526deb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

greedy_methods/minimum_coin_change.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import sys
22
from doctest import testmod
33
<<<<<<< HEAD
4+
<<<<<<< HEAD
5+
=======
46
=======
7+
8+
>>>>>>> d4d24a610a66bec4f2232a6c1e6460054c46463e
59
"""
610
Test cases:
711
Do you want to enter your denominations ? (Y/N) :N
@@ -42,7 +46,12 @@
4246
Following is minimal change for 456 :
4347
100 100 100 100 5 5 5 5 5 5 5 5 5 5 5 1
4448
"""
49+
<<<<<<< HEAD
4550
>>>>>>> 0bbf0ea76e478706b1fa9ea377465c52f5195c6f
51+
=======
52+
53+
54+
>>>>>>> d4d24a610a66bec4f2232a6c1e6460054c46463e
4655
def find_minimum_change(denominations: list[int], value: int) -> list[int]:
4756
"""
4857
Find the minimum change from the given denominations and value.

0 commit comments

Comments
 (0)