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.
When I first saw this solution, I thought it was really clever, so I played with it, it broke, and I wondered why. I thought someone else might be in the same boat, so I took the time to try and explain it as best as I could. Part of understanding this solution is understanding when and when it doesn't work, which is important if someone ever wants to try and use this code in a different scenario. Some people will likely find this helpful, while others won't, and that's all right!
This comment is hidden because it contains spoiler information about the solution