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.
one func one return, is a good code-habit~
I know: I could have skipped the ternary...
I like to avoid clever one-liner style code, instead opting for a self-documenting approach. Sure, there's probably bits to be reasonably trimmed, but...
This comment is hidden because it contains spoiler information about the solution
This is the first one I've had to skip because what's being asked for in the description doesn't SEEM to match what the tests expect. Something doesn't make sense. Others seem to be on the right track, so...? Seemed straightfoward: are any of the words in the dictionary present in the given string? I'd enjoy having this clarified, if my interpretation is wrong. :P
Oh god, I'm cracking up. Love it. :D