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.
clever, but super slow. pure overkill
nice. i broke this into two cycles and two regexps - exract words and iterate over each word, but this reads even better
Mind that this solution causes UB for space-only (that is also empty) strings.
Particularly simple but clever regex, tho!
this solution is so elegant
This comment is hidden because it contains spoiler information about the solution