Coding challenge

Mark Wieder mwieder at ahsoftware.net
Wed Jan 30 22:16:07 EST 2013


Today's algorithm challenge:

Determine the minimum number of coins for change.

Given any number between 1 and 99, determine how to give change with
the minimum number of coins. You can assume that the coins are 1c, 2c,
5c, 10c, 20c and 50c.

Various solutions here in Scala, java, C#, Groovy...
http://java.dzone.com/articles/thursday-code-puzzler-change

...and the xtalk implementation would be...
  
-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list