Minimum Change
Write a function find_change
to find the minimum number of coins that make up the given amount of change cents
. Assume we only have coins of value 1, 5, 10, and 25 cents.
Example:
Input:
cents = 73
Output:
def find_change(cents) -> 7
#(25 + 25 + 10 + 10 + 1 + 1 + 1)
Next question: Annual Retention.....
Loading editor