Played Challenges
Swap function parameters and delete all comments in python. - 798 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 19
- Position: #5 / 206
- Number of attempts: 5
Delete the last function argument in python. - 550 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #4 / 201
- Number of attempts: 1
Flip All Bits - 355 entries
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
- Best score: 26
- Best player score: 30
- Position: #18 / 110
- Number of attempts: 2
Find the devices that have no revoked time, and extract out the duration left on their leases. - 183 entries
Extract non-revoked devices and the duration of their leases.
- Best score: 50
- Best player score: 59
- Position: #14 / 49
- Number of attempts: 7
From brakets to parens - 1266 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 25
- Position: #55 / 284
- Number of attempts: 4
Create json from a .env file - 1658 entries
A simple everyday task.
- Best score: 38
- Best player score: 42
- Position: #71 / 407
- Number of attempts: 7
Changing date formats - 734 entries
Change the date format to Y/M/D.
- Best score: 37
- Best player score: 39
- Position: #16 / 207
- Number of attempts: 13
YAML to dotenv - 1600 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 16
- Position: #65 / 335
- Number of attempts: 4
Swap columns and transform to CSV format - 474 entries
Turn this spreadsheet output into a CSV file but first swap the columns
- Best score: 16
- Best player score: 17
- Position: #74 / 171
- Number of attempts: 3
Fix the git merge conflicts - 348 entries
Solve the merge conflicts in the Python file
- Best score: 36
- Best player score: 48
- Position: #27 / 104
- Number of attempts: 5
Change class fields from camel case to snake case - 662 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 25
- Position: #98 / 152
- Number of attempts: 3
Count words - 123 entries
Merge duplicates and count each word.
- Best score: 39
- Best player score: 42
- Position: #9 / 27
- Number of attempts: 8
Simple, Practical, and Common - 33988 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 22
- Position: #2430 / 7509
- Number of attempts: 6
Extract argument from function - 2401 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #278 / 768
- Number of attempts: 4
Search and Replace 0 - 5124 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #759 / 1670
- Number of attempts: 4
VimGolf