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.
It's a good practice to specify exception type if you know it.
I do not think that this is sufficient, since 'aabbc' and 'abccc' both have length 5 and {'a', 'b', 'c'}
Sadly we can't downvote the best practices... But this solution does not work, and should not be accepted as a proper solution.