Played Challenges
Search and Replace 0 - 4766 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #9 / 1578
- Number of attempts: 7
Interweave two blocks of text - 615 entries
Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?
- Best score: 15
- Best player score: 17
- Position: #75 / 210
- Number of attempts: 3
Mess in revision history - 1157 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 22
- Position: #119 / 245
- Number of attempts: 4
Words in parens - 12821 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #356 / 3938
- Number of attempts: 1
Multiplication table. - 195 entries
Create a multiplication table.
- Best score: 31
- Best player score: 53
- Position: #22 / 63
- Number of attempts: 2
Sort the cardinal numbers - 284 entries
Maybe a simple challenge.
- Best score: 12
- Best player score: 12
- Position: #8 / 143
- Number of attempts: 2
formatted text to markdown - 181 entries
You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.
- Best score: 70
- Best player score: 76
- Position: #24 / 66
- Number of attempts: 2
Line Zipper - 449 entries
Zip/pair related lines.
- Best score: 12
- Best player score: 12
- Position: #7 / 209
- Number of attempts: 4
remove dupes from array - 1324 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: #5 / 328
- Number of attempts: 2
Complete the hex array data - 190 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 23
- Best player score: 25
- Position: #17 / 72
- Number of attempts: 4
Complete the hex array data (Part II) - 151 entries
Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]
- Best score: 20
- Best player score: 22
- Position: #15 / 67
- Number of attempts: 1
Sort entries based on date - 359 entries
Sort some entries in a Ledger-file based on date.
- Best score: 11
- Best player score: 11
- Position: #13 / 113
- Number of attempts: 3
Reformat long lines - 336 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: 17
- Position: #47 / 130
- Number of attempts: 2
Generate English Alphabets - 456 entries
Start with a, get up to z.
- Best score: 19
- Best player score: 24
- Position: #35 / 198
- Number of attempts: 4
Numbering a List - 1849 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #169 / 636
- Number of attempts: 3
The Universal Declaration of Human Rights, Article 1 - 145 entries
Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)
- Best score: 24
- Best player score: 24
- Position: #4 / 68
- Number of attempts: 2
Ruby 1.9 hashes - 1202 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: 13
- Position: #111 / 394
- Number of attempts: 5
Shebangs for all - 1846 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 15
- Position: #228 / 486
- Number of attempts: 2
A Simple One - 978 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: #14 / 636
- Number of attempts: 2
Round Round - 285 entries
Round Round
- Best score: 19
- Best player score: 76
- Position: #52 / 83
- Number of attempts: 1
82 bottles of beer on the wall - 296 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 107
- Best player score: 133
- Position: #79 / 138
- Number of attempts: 1
Table Reshuffle - 366 entries
Fix the column order in this table... also append the new 'username' column.
- Best score: 22
- Best player score: 28
- Position: #42 / 132
- Number of attempts: 5
Reverse and count - 432 entries
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
- Best score: 18
- Best player score: 24
- Position: #45 / 168
- Number of attempts: 5
Letters are numbers - 149 entries
Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?
- Best score: 20
- Best player score: 32
- Position: #45 / 73
- Number of attempts: 2
Ruby 1.9 compat - 608 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: 16
- Position: #118 / 229
- Number of attempts: 4
Reverse Simple Deletion - 824 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #63 / 450
- Number of attempts: 1
Increment, increment, increment.... - 626 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #112 / 393
- Number of attempts: 1
Sorting paragraphs - 502 entries
Order the paragraphs correctly, per prefixed index
- Best score: 18
- Best player score: 32
- Position: #85 / 155
- Number of attempts: 5
Hatsuyume - 442 entries
http://en.wikipedia.org/wiki/Hatsuyume
- Best score: 16
- Best player score: 25
- Position: #69 / 173
- Number of attempts: 7
The Cake is a Lie - 1266 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #43 / 506
- Number of attempts: 3
Context insensitive completion 0 - 493 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 7
- Position: #44 / 230
- Number of attempts: 3
Remove Accent off the Letter - 105 entries
Remove all the accent from extremely accented statements.
- Best score: 37
- Best player score: 77
- Position: #41 / 49
- Number of attempts: 1
Make Fancy Header - 996 entries
Make the header text stand out with surrounding asterisks
- Best score: 16
- Best player score: 16
- Position: #6 / 335
- Number of attempts: 5
Reformat some Python - 576 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 43
- Position: #119 / 227
- Number of attempts: 1
Change the content of a string - 1425 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #4 / 542
- Number of attempts: 4
Sort and add attributes - 1273 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #21 / 510
- Number of attempts: 5
Reconstruct the Sentence - 1265 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: 20
- Position: #13 / 366
- Number of attempts: 6
Whitespace, empty lines and tabs - 3136 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 25
- Position: #335 / 699
- Number of attempts: 3
Simple text editing with Vim - 11962 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #700 / 3502
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 6336 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 32
- Position: #100 / 1561
- Number of attempts: 13
Utkarsh Kukreti
Twitter: @utkarshkukreti
Programmer. <3 Programming Languages in general. Currently working with Node.js and Ruby. Experimenting with Rust. Edit: Haskell. Edit 2: Clojure.