Played Challenges
Search and Replace 0 - 4952 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 23
- Position: #1553 / 1615
- Number of attempts: 2
remove dupes from array - 1347 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 / 334
- Number of attempts: 5
Rotating Philosophers Problem - 410 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: #106 / 166
- Number of attempts: 3
Reformat long lines - 358 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: #115 / 134
- Number of attempts: 1
Generate English Alphabets - 487 entries
Start with a, get up to z.
- Best score: 19
- Best player score: 25
- Position: #70 / 206
- Number of attempts: 2
The holy-grail may help - 362 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 16
- Position: #36 / 208
- Number of attempts: 1
Ruby 1.9 hashes - 1228 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: #307 / 403
- Number of attempts: 5
A Simple One - 1037 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 / 657
- Number of attempts: 4
Reverse Simple Deletion - 845 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #82 / 457
- Number of attempts: 2
Sort and add attributes - 1418 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 37
- Position: #432 / 551
- Number of attempts: 2
Simple text editing with Vim - 12627 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #763 / 3653
- Number of attempts: 9
Reformat/Refactor a Golfer Class - 6825 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 38
- Position: #585 / 1673
- Number of attempts: 5