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.
This comment is hidden because it contains spoiler information about the solution
You could write "apple" and it would still work
A category would be nice. There are some kata which push the limits on what you can do on the max time limit that is available on CW (7 - 11 seconds, depending on the language).
Something to keep in mind with code performance is that its not constant, in terms of run time. The host machine that is running the code may be doing any number of things that affects how much attention the code is given on each run. Check out big O notation to understand more about how to improve your algorithm complexity.