Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b100dd994c
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (28 sloc) 1.035 kb

RPCFN: Cycle Tracks (#12)

RPCFN#12 was created by David Griffiths

This challenge has two parts.

1st: Ruby Magnets

Could you replace the magnets and rebuild the code?

If you have Shoes, try to confirm your solution with Ruby Magnets on Shoes. :)

2nd: Exercise

Write your own version of the skip_tracks() method.

Remember: Shorter code is the winner in this competition. ;-)

List of code length

Ruby 1.8.7 or 1.9.1

12 Cary Swoveland    : 61
11 Viktor Nemes      : 70
05 Sebastian Rabuini : 72
01 Alex Chateau      : 73
04 Dmytrii Nagirniak : 92
08 JulioC Villasante : 133
10 Benoit Daloze     : 161
99 ashbb             : 49

03 Kirill Shchepelin : 50 ***
09 Paul McKibbin     : 68 ***

***: Need to be improved to pass all unit tests.

Ruby 1.9.2 only

01 Alex Chateau      : 35
Jump to Line
Something went wrong with that request. Please try again.