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 came up with similar solution where all calculations happen in init and the methods just return the value
This comment is hidden because it contains spoiler information about the solution
i knew how to do this but i forgot lol mine is first solution
wow
that's what I was aiming for, couldnt get it in a one single line...
nice!
Great!
there's no need to think thatt much, but its good to know other solutions too ;-)
this blow my mind, need to go read documentation.
This comment is hidden because it contains spoiler information about the solution
Wow! This solution is amazing :)
red pill or blue pill?
This comment is hidden because it contains spoiler information about the solution
Doesn't this code copy the list and result in more memory usage?
It is a funny Kata, and it made me find out about Exceptions that I've never encountered yet.
Much harder than I thought at first, especially if you forget about The easiest way of making Kotlin throw a RuntimeException and try to exploit java interop.
Loading more items...