Played Challenges
Rearrange array to single level - 1298 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 40
- Position: #169 / 205
- Number of attempts: 2
Rearrange array to one line - 602 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 26
- Position: #109 / 144
- Number of attempts: 2
Mirror image - 75 entries
Add the second eye
- Best score: 15
- Best player score: 33
- Position: #21 / 27
- Number of attempts: 1
Find anomalies - 148 entries
There is one special character per line
- Best score: 30
- Best player score: 30
- Position: #2 / 39
- Number of attempts: 4
Coordinate extraction - 55 entries
Get the coordinates of all "M"s from the Vim logo
- Best score: 43
- Best player score: 61
- Position: #12 / 16
- Number of attempts: 2
New teacher - 923 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 26
- Position: #103 / 194
- Number of attempts: 5
Replace word while reserving first letter case - 604 entries
Window -> Door window -> door Windows -> Windows windows -> windows
- Best score: 24
- Best player score: 34
- Position: #57 / 118
- Number of attempts: 5
months to html list items - 1010 entries
Turn the months into list items.
- Best score: 22
- Best player score: 22
- Position: #30 / 274
- Number of attempts: 9
Quicksort - 1962 entries
We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.
- Best score: 6
- Best player score: 6
- Position: #9 / 431
- Number of attempts: 4
Tic-Tac-Toe Grid Transformation - 396 entries
Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.
- Best score: 56
- Best player score: 155
- Position: #62 / 83
- Number of attempts: 3
Populate 3D bone names list - 629 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 29
- Position: #80 / 162
- Number of attempts: 1
Find fix point of cos - 1402 entries
Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.
- Best score: 14
- Best player score: 15
- Position: #88 / 415
- Number of attempts: 5
Insert column data on Confluence-style table - 458 entries
Add ip addresses into new "IP" column based on the last digits from the "Server" column
- Best score: 33
- Best player score: 63
- Position: #73 / 109
- Number of attempts: 3
Surround the 'z' character with brackets, quotes, and print as formatted string. - 554 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #23 / 309
- Number of attempts: 3
Paste a column after a column - 2537 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 14
- Position: #68 / 553
- Number of attempts: 11
Filter number combinations that don't add to 11 - 408 entries
Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.
- Best score: 27
- Best player score: 28
- Position: #63 / 117
- Number of attempts: 5
Tabbed Table to Python Array - 734 entries
Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html
- Best score: 50
- Best player score: 67
- Position: #134 / 179
- Number of attempts: 2
HS exam question - 1589 entries
Convert the data to a python dictionary
- Best score: 47
- Best player score: 82
- Position: #277 / 417
- Number of attempts: 1
Reformat symbols in list - 1621 entries
Saw this in some lecture, easy reformatting using multiple cursor in VS Code
- Best score: 24
- Best player score: 41
- Position: #277 / 348
- Number of attempts: 1
Many duplicates - 1445 entries
Quick and easy
- Best score: 7
- Best player score: 8
- Position: #229 / 468
- Number of attempts: 7
2 quick changes and a numbered list - 647 entries
The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.
- Best score: 37
- Best player score: 78
- Position: #132 / 154
- Number of attempts: 1
delete swap - 1786 entries
delete all swap
- Best score: 5
- Best player score: 5
- Position: #355 / 555
- Number of attempts: 5
Fix the shell script! - 2544 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 62
- Position: #527 / 589
- Number of attempts: 1
Visual block training - 1070 entries
You see the input. You see the output. Go.
- Best score: 17
- Best player score: 80
- Position: #181 / 204
- Number of attempts: 1
Put a newline after every 10 lines in vim - 1657 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 10
- Position: #46 / 556
- Number of attempts: 7
hello-world-vimgolf - 2499 entries
Simple number generation
- Best score: 10
- Best player score: 10
- Position: #273 / 708
- Number of attempts: 7
Fill in the chess board - 959 entries
Fill in the name of each square using its file (a-h) and rank (1-8).
- Best score: 19
- Best player score: 60
- Position: #153 / 185
- Number of attempts: 3
Rural Post - 4479 entries
Simple challenge to remove all but the post code on each line
- Best score: 9
- Best player score: 10
- Position: #478 / 1097
- Number of attempts: 2
prepend * to every non-blank line - 6308 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 10
- Position: #442 / 1537
- Number of attempts: 9
Add semicolons - 10852 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 12
- Position: #1954 / 3063
- Number of attempts: 3
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #714 / 1624
- Number of attempts: 3
Reverse characters in a line - 771 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 12
- Best player score: 24
- Position: #231 / 265
- Number of attempts: 4
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: 19
- Position: #2744 / 3694
- Number of attempts: 1