Kolakoski sequence -- level 2
This time, the line above describes the line below. Level 1 at: http://www.vimgolf.com/challenges/5c880211ab65cb00065c74eb
Start file
12
End file
12 122 12211 1221121 1221121221 122112122122112 12211212212211211221211 1221121221221121122121121221121121 12211212212211211221211212211211212212211212212112 122112122122112112212112122112112122122112122121121122122112122122112112122 12211212212211211221211212211211212212211212212112112212211212212211211212212112212211212212211211221211212212211
View Diff
1a2,11 > 122 > 12211 > 1221121 > 1221121221 > 122112122122112 > 12211212212211211221211 > 1221121221221121122121121221121121 > 12211212212211211221211212211211212212211212212112 > 122112122122112112212112122112112122122112122121121122122112122122112112122 > 12211212212211211221211212211211212212211212212112112212211212212211211212212112212211212212211211221211212212211
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 7 remaining solutions by signing in and submitting your own entry
#8 Martin Delille / @martinodelilo - Score: 55 - 08/22/19 @ 08:48
qaA<C-R>r<Esc>qqn:let @r=3-@r<CR>qqqyyp"ryl:s/\d/&@a@n/g<CR>D@"q9@qZZ
0 comments