Played Challenges
Exchanging Quotes - 858 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 35
- Position: #91 / 230
- Number of attempts: 2
replacing each line of a block selection - 3001 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 22
- Position: #423 / 778
- Number of attempts: 1
Reverse and double space - 500 entries
Reverse the order of the given lines and double space everything
- Best score: 14
- Best player score: 14
- Position: #4 / 199
- Number of attempts: 1
The meaning - 575 entries
Numbers are fun!
- Best score: 5
- Best player score: 5
- Position: #35 / 363
- Number of attempts: 1
Ugly spreadsheet copy/paste to CSV - 1009 entries
convert an ugly spreadsheet copy/paste into a CSV format.
- Best score: 19
- Best player score: 27
- Position: #79 / 193
- Number of attempts: 2
Reformat long lines - 361 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: 20
- Position: #82 / 135
- Number of attempts: 1
Numbering a List - 1935 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 25
- Position: #518 / 654
- Number of attempts: 1
Ruby 1.9 hashes - 1249 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: 15
- Position: #266 / 407
- Number of attempts: 1
Round Round - 321 entries
Round Round
- Best score: 19
- Best player score: 35
- Position: #39 / 88
- Number of attempts: 1
Ruby 1.9 compat - 634 entries
Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!
- Best score: 14
- Best player score: 15
- Position: #107 / 235
- Number of attempts: 1
Remember FizzBuzz? - 738 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 56
- Position: #82 / 193
- Number of attempts: 1
Sort and add attributes - 1476 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 34
- Position: #333 / 574
- Number of attempts: 1
Reconstruct the Sentence - 1580 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 19
- Best player score: 22
- Position: #271 / 424
- Number of attempts: 1
Simple text editing with Vim - 12959 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #964 / 3731
- Number of attempts: 3