Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Me and my 60 lines of code ...
nice point to consider
Same! I was working on it for about 30 minutes trying to get it to work. One google search for 'sort by number then alphabetically' and, lo and behold, a stack overflow suggesting the hallowed LocaleCompare. Good stuff.
omg that's great!
This comment is hidden because it contains spoiler information about the solution
yes if there is a more than one space I think there might be a problem
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I wish this was my solution... this makes mine so inadequate haha :) Nice work!
This comment is hidden because it contains spoiler information about the solution
Ah, then that explains it.
This solution is still really elegant though. You could just regexing the string first without having to refactor the rest of the code.
The task was different until yesterday...
This solution does not satisfy the whitespace criteria of the kata:
This comment is hidden because it contains spoiler information about the solution
Definitely agree. Can terminate after 5 matches.