Challenge: Counting Money
Given infinite quarters, dimes, nickels and pennies, calculate the minimum number of coins to represent a number v.
We'll cover the following
Problem statement:
Given an infinite number of quarters , dimes , nickels , and pennies , implement a function to calculate the minimum number of coins to represent cents.
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.