Challenge: Counting Money
Solve the counting money problem.
We'll cover the following
Problem statement
Given an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents), and pennies (1 cent), implement a function to calculate the minimum number of coins to represent cents.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.