Find minimum number of coins that make a given value: Difference between revisions
Find minimum number of coins that make a given value (view source)
Revision as of 21:40, 10 September 2021
, 2 years ago→{{header|JavaScript}}: Additional comment line.
m (→{{header|JavaScript}}: Additional comment line.) |
|||
Line 292:
<lang javascript>(() => {
"use strict";
// -- MINIMUM NUMBER OF COINS TO MAKE A GIVEN VALUE --
// change :: [Int] -> Int -> [(Int, Int)]
|