chickadee » coin-change » coin-change/unlimited

coin-change/unlimited target denominationsprocedure
target
The value that the solution must add up to.
denominations
The list of available denominations.

Convenience wrapper around coin-change that, given a list of denominations, computes the maximum number of coins of each denomination.