Played Challenges
Hogwarts Email Sorting - 828 entries
Given a list of emails, get the students full name and their associated house.
- Best score: 20
- Best player score: 21
- Position: #76 / 237
- Number of attempts: 11
prepend * to every non-blank line - 5959 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 11
- Position: #494 / 1463
- Number of attempts: 2
One number per line - 18378 entries
Just give me the numbers.
- Best score: 14
- Best player score: 18
- Position: #1464 / 3788
- Number of attempts: 6
Quote modules - 1015 entries
Complete golang import statement.
- Best score: 21
- Best player score: 28
- Position: #172 / 258
- Number of attempts: 1
Unsemantic linewrapping - 826 entries
[Inspired by a blog post I read: https://scott.mn/2014/02/21/semantic_linewrapping/. Text adapted.] Sometimes when editing a Markdown file, I wrap the lines semantically. Instead of inserting a newline at 70 columns (or whatever), or making paragraphs one long line, I put in newlines at a point that seems logical to me. This may seem silly, but it produces better diffs. Semantic linewrapping also makes editing snappier. I can delete, edit or insert sentences easily using linewise operations. Code-oriented text editors like Vim and [REDACTED] are really good at this kind of manipulation. Editing text that hasn't been wrapped semantically is a pain, though:
- Best score: 9
- Best player score: 9
- Position: #8 / 208
- Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 1117 entries
Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary
- Best score: 19
- Best player score: 20
- Position: #90 / 232
- Number of attempts: 10
Add semicolons - 10539 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 13
- Position: #1975 / 2988
- Number of attempts: 1
Bad Copy Syntax - 1938 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 32
- Position: #423 / 493
- Number of attempts: 3
remove lines containing the word "reader" - 3454 entries
easy stuff
- Best score: 9
- Best player score: 10
- Position: #581 / 1121
- Number of attempts: 3
Com(m)a Trouble - 3376 entries
Someone was real stupid when placing his commas. Can you fix it?
- Best score: 12
- Best player score: 17
- Position: #505 / 760
- Number of attempts: 1
Just the middle - 11136 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #2792 / 4112
- Number of attempts: 3
I forgot quotes - 15728 entries
Oops.
- Best score: 10
- Best player score: 14
- Position: #1916 / 4114
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #2347 / 3637
- Number of attempts: 1
Words in parens - 12736 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #2455 / 3919
- Number of attempts: 2
Resort and deup a CSV list - 135 entries
I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.
- Best score: 44
- Best player score: 114
- Position: #34 / 37
- Number of attempts: 1