We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0473253 + d4d24a6 commit 4526debCopy full SHA for 4526deb
greedy_methods/minimum_coin_change.py
@@ -1,7 +1,11 @@
1
import sys
2
from doctest import testmod
3
<<<<<<< HEAD
4
+<<<<<<< HEAD
5
+=======
6
=======
7
+
8
+>>>>>>> d4d24a610a66bec4f2232a6c1e6460054c46463e
9
"""
10
Test cases:
11
Do you want to enter your denominations ? (Y/N) :N
@@ -42,7 +46,12 @@
42
46
Following is minimal change for 456 :
43
47
100 100 100 100 5 5 5 5 5 5 5 5 5 5 5 1
44
48
49
45
50
>>>>>>> 0bbf0ea76e478706b1fa9ea377465c52f5195c6f
51
52
53
54
55
def find_minimum_change(denominations: list[int], value: int) -> list[int]:
56
57
Find the minimum change from the given denominations and value.
0 commit comments