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.
Do you have any advice? Seems to me impossible to solve in O(n).
Actually I was wrong, both test are ok. The suggestion of Codestar187 goes in the right direction.
Hi, I have some trouble understanding the results:
How come this is true? shouldn't be false?
['e', 'w', 'e', 'w', 'n', 's', 's', 'e', 'n', 'w']
And shouldn't this one be true?
['e', 'w', 'e', 'w', 'e', 's', 'n', 's', 'e', 'w']