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 - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 22
- Position: #423 / 777
- 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 - 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: 20
- Position: #82 / 134
- Number of attempts: 1
Numbering a List - 1931 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 25
- Position: #516 / 652
- Number of attempts: 1
Ruby 1.9 hashes - 1244 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 / 406
- 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 - 629 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: #106 / 234
- Number of attempts: 1
Remember FizzBuzz? - 725 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 56
- Position: #80 / 190
- Number of attempts: 1
Sort and add attributes - 1451 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 34
- Position: #327 / 563
- Number of attempts: 1
Reconstruct the Sentence - 1507 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 20
- Best player score: 22
- Position: #264 / 412
- Number of attempts: 1
Simple text editing with Vim - 12811 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #959 / 3694
- Number of attempts: 3