James Gray wrote:
>> Is it ok to share test cases before the spoiler?
> 
> Sure.
> 
> James Edward Gray II


seeems like in some weird case:

# make_change(297, [100, 99, 1]) should return [99,99,99]
# make_change(397, [100, 99, 1]) should return [100,99,99,99]
# make_change(497, [100, 99, 1]) should return [100,100,99,99,99]

so there is no rule as to whether 100 or 99 should be used in the first 
place.




-- 
Posted via http://www.ruby-forum.com/.