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.
You learned a lot of this language with your solution. As did I with my inefficient shell-script-like solution. And now with this solution you see, that it can be much much easier. Doesn’t have to do much with the language.
Easy to read, easy to understand. Efficiency depends from the compiler, but is probably higher than most other solutions. Perfect!
I must be not suitable for learning this language
Maybe not the most performant because of the recursion, but still quite elegant.