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.
I'm sure you've solved this by now, but just in case...
You know that there can't be more WUBs than the length of the given title / 3 (because WUB takes up three characters). Can you replace the groups of WUBs with a single space if you know how many there are?
One way would be to use a recursive function, easy to do and it won't be limited like a hard coded fix.
don't worry about one-liner solutions, keep solving katas and you will spit one-liners too! I experienced that
This comment is hidden because it contains spoiler information about the solution