From: Denis Hennessy Date: 2008-01-27T00:43:32+09:00 Subject: Re: Making Change (#154) On 26 Jan 2008, at 15:20, tho_mica_l wrote: >> Here's another test case: > > Yet another: > > make_change(4563, [97, 89, 83, 79, 73, 71, 67, 61, 59, 53, 47, 43, 41, > 37, 31, 29, 23, 19, 17, 13, 11, 7, 5, 3]) > => [5, 7, 89, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, > 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, > 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97] It wasn't an explicit requirement, but I think the higher value coins should appear first in the output list.