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.
You spent so much time trying to see if you could do something, that you never thought to ask if you should do it.
Good catch. Just realised mine was inadequate and refactored.
Another nice addition would be to compare sentences like 'desperation' === 'A rope ends it!' which would require stripping anything not a-z/A-Z.
There's a missing test case, when duplicated characters are contained in a subject and not in the candidate.
Consider: subject, candidate = 'daa', 'add' Will return true for most of the submissions
It doesn't sort...
This comment is hidden because it contains spoiler information about the solution