Played Challenges
Wrap the text of an email message to 79 characters - 852 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #115 / 441
- Number of attempts: 2
Exchanging Quotes - 864 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 31
- Position: #25 / 232
- Number of attempts: 13
Append semicolon after expressions - 1065 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 11
- Position: #16 / 422
- Number of attempts: 4
Remove noise from HTTP log - 732 entries
This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.
- Best score: 15
- Best player score: 15
- Position: #32 / 278
- Number of attempts: 5
switch variable - 5101 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #119 / 1756
- Number of attempts: 4
Sort the cardinal numbers - 315 entries
Maybe a simple challenge.
- Best score: 12
- Best player score: 12
- Position: #28 / 149
- Number of attempts: 2
expand a list comprehension (python) - 334 entries
Please show your way to convert a list comprehension in python to an ordinary for-loop expression!
- Best score: 42
- Best player score: 51
- Position: #47 / 110
- Number of attempts: 2
Shebangs for all - 2062 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 11
- Position: #4 / 525
- Number of attempts: 11
Change the content of a string - 1750 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #77 / 639
- Number of attempts: 5
Braces or Brackets? - 1140 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 34
- Position: #4 / 349
- Number of attempts: 12
Simple text editing with Vim - 13427 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #88 / 3849
- Number of attempts: 12
Reformat/Refactor a Golfer Class - 7514 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 32
- Position: #24 / 1850
- Number of attempts: 6
John Piasetzki
Twitter: @jpiasetz
Software Developer - PHP, Java, HTML, CSS, Python, Eclipse, OpenBSD, ArchLinux
VimGolf