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.
implied tail recursion recognized by the Kotlin compiler...?
Hmmm... During the pre-submit tests (the hidden ones), I received StackOverflow exception for recursive solutoin like this. So I had to change my solution to a non-recursive one (in a loop).
sorry for my bad code, im new in kotlin