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.
Everyone has to start somewhere :P You'll learn to solve such problems much quicker with some practise everyday and learning from others' solutions.
Also, just because solutions are short rarely means they're the best.
I literally spent 1 hour trying to figure this out and I came up with this solution...Should I continue doing that since people are solving this task with 1 line of code xD
(FeelingSoStupidxD)