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.
I wasn't trying to be 'clever' i was soving the problem the best way that i knew. Thank you for your 'feedback'
This is incredibly unperformant, though. On smaller numbers, we measured this to be six times slower than the solution above and up to 100,000 times slower on much larger numbers. Not all fancy-looking solutions are so 'clever'.