Played Challenges
Search and Replace 0 - 5045 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #173 / 1644
- Number of attempts: 6
Changing URL path in CSS - 144 entries
What's the quickest way to swap out all the URLs in a CSS file? Is it wasted keystrokes using look-behinds and look-aheads? (I'm sorry for the delete/report--I made a mistake with the last one requiring an ugly search for graphic to replace with images. I just intended this to be a simple search and replace that might possibly generate some macros or normals solutions that are quicker)
- Best score: 40
- Best player score: 56
- Position: #53 / 65
- Number of attempts: 1
remove dupes from array - 1361 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: 28
- Position: #292 / 338
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 7528 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 41
- Position: #921 / 1851
- Number of attempts: 4
VimGolf