Played Challenges
Search and Replace 0 - 4792 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 23
- Position: #1524 / 1585
- Number of attempts: 2
remove dupes from array - 1336 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 17
- Position: #14 / 331
- Number of attempts: 5
Rotating Philosophers Problem - 390 entries
Can you help the philosophers find a good place to sit before they get five forks and spaghetti?
- Best score: 29
- Best player score: 32
- Position: #104 / 163
- Number of attempts: 3
Reformat long lines - 344 entries
Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.
- Best score: 15
- Best player score: 23
- Position: #113 / 131
- Number of attempts: 1
Generate English Alphabets - 473 entries
Start with a, get up to z.
- Best score: 19
- Best player score: 25
- Position: #70 / 202
- Number of attempts: 2
The holy-grail may help - 347 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #36 / 206
- Number of attempts: 1
Ruby 1.9 hashes - 1221 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 17
- Position: #305 / 401
- Number of attempts: 5
A Simple One - 1001 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #169 / 643
- Number of attempts: 4
Reverse Simple Deletion - 832 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #81 / 454
- Number of attempts: 2
Sort and add attributes - 1330 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 37
- Position: #414 / 530
- Number of attempts: 2
Simple text editing with Vim - 12290 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #743 / 3581
- Number of attempts: 9
Reformat/Refactor a Golfer Class - 6560 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 38
- Position: #570 / 1616
- Number of attempts: 5