...

/

Challenge: The Coin Change Problem

Challenge: The Coin Change Problem

Let's solve a coding challenge on the different ways to represent a given number of cents.

Problem statement

Given an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents), and pennies (1 cent), write some code to calculate the number of ways to represent n cents.

Input

The values of the coins ...