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 like that it is short, but I cannot make it work on my system.
And you are right, it is a brute force solution, if I were going brute force, I would tend to use the built in permutations from Enumerable...
How can you upvote it as a best practice?
It's totaly inefficient brute force solution. Implementation is kinda clever though.