Played Challenges
hexagram binary tree - 138 entries
generate the binary tree that represents all possible hexagrams found in the book of changes (易经)
- Best score: 23
- Best player score: 52
- Position: #26 / 32
- Number of attempts: 2
Swap function parameters and delete all comments in python. - 1083 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 24
- Position: #106 / 265
- Number of attempts: 2
Delete the last function argument in python. - 731 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #24 / 263
- Number of attempts: 3
Flip All Bits - 512 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: 24
- Best player score: 38
- Position: #56 / 146
- Number of attempts: 5
From brakets to parens - 1356 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: #60 / 309
- Number of attempts: 9
Reordering properties - 1385 entries
Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.
- Best score: 24
- Best player score: 63
- Position: #120 / 302
- Number of attempts: 5
Replace word while reserving first letter case - 665 entries
Window -> Door window -> door Windows -> Windows windows -> windows
- Best score: 24
- Best player score: 31
- Position: #53 / 127
- Number of attempts: 5
months to html list items - 1161 entries
Turn the months into list items.
- Best score: 22
- Best player score: 27
- Position: #176 / 314
- Number of attempts: 5
Tic-Tac-Toe Grid Transformation - 450 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: 152
- Position: #62 / 88
- Number of attempts: 2
Populate 3D bone names list - 661 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 39
- Position: #150 / 172
- Number of attempts: 3
Find fix point of cos - 1486 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: #212 / 435
- Number of attempts: 2
VimGolf