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
5 lines of code? It is very nice! My first solution had about 42 lines of code because I wanted to do it without using unnecessary functions and methods (for example I wanted to write a sorting algorithm by myself).
Yes, it comes from your code being too slow. Not a kata issue.