From: Warren Brown Date: 2008-01-26T01:55:24+09:00 Subject: Re: [QUIZ] Making Change (#154) James, > What if the coins were 10, 7, and 1 cent pieces though > and we wanted to make 14 cents change? We would > probably want to do: > > >> make_change(14, [10, 7, 1]) > => [7, 7] > ... > Your function should always return the optimal change > with optimal being the least amount of coins involved. Do you have a preference for breaking ties? For example, which would you prefer for make_change(21, [10, 7, 1]): [7, 7, 7] or [10, 10, 1]? Warren Brown