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.
came to the same decision about this kata, I think it's the best.
I think, this type of answer must be "the best practices"
thanks for this!
good result
It will also fail for trailing or leading blank:
For me this is very familiar with Linq in C#. I like this style and I think it is way better then writing two returns. Using lambda is so easy and clear to read, in my opinion.
This comment is hidden because it contains spoiler information about the solution
It will fail for empty strings: