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.
Sorry, thanks for catching my mistake. I will remember to use the spoiler flag in the future when my comment is about my solution.
spoiler flag, please...
This comment is hidden because it contains spoiler information about the solution
I enjoyed that this problem required some thought and optimisation.
That was a joke, it's just that this solution will use twice as much cells as most of the other solutions.
This is a great solution and very simple.
It will always use 5 cells so I don't see how it is O(n²) memory.
I think that this kata is a bit too easy for 5 kyu.
kata too difficult, should be 1 kyu
I guess we can code under pressure
I think this kata is way too simple.