0x002A / gmail.com wrote:
> okay here's my shot at the quiz, it's quite large for such a simple
> problem, but i couldn't resist to use
> :* in my code ;-)

42,

you seem to produce a non optimal solution:

[222, 224, 112, 56, 58, 60, 62, 124, 248, 496, 498, 996, 998, 1996, 
1998, 999]
expected but was
[222, 111, 113, 115, 117, 119, 121, 123, 246, 248, 496, 498, 996, 1992, 
1994, 997, 999]

(17 steps instead of 16)

Christer

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