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.
I really like the task, my only suggestion is that it is too clever for rank 7.
This is looks very tidy, but it does not work. It fails something like "aabaab", "aba", "aba" which should be false. I don't think this problem can be solved with a greedy approach.
This comment is hidden because it contains spoiler information about the solution
Thanks. I just did not think about using a string, I daubt it is more efficientthis way. I am thinking Java style still.