Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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+) and Groovy 1.6 multi-assignment, but other variations are possible.

  • No labels