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.
1 is not obvious. It's pointless.
There's no real-world application to testing whether a string ends in a blank string.
ANY string could be considered to 'end' in a blank string because adding a blank string to any string leaves it unchanged.
For that matter, we could say that any string begins, ends, and has infinite blank strings between every element across its length!
So why not test for and count all of them?
Pointless.
1 is obvious too.
2 is obvious. Are you sure that needs clarification?