You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Here is a version of the Greedy Coin Changer problem inspired by these Scala and Python solutions.
This solution uses Java 5 enums (supported in Groovy 1.5+) but other variations are possible.
Powered by a free Atlassian Confluence Open Source Project License granted to Codehaus. Evaluate Confluence today.