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.
This solution has me stumped. I totally don't get how this works.
I feel like as a kotlin exercise this misses the point of nullability in kotlin. for any type T whe can have T? or nullable T and this is a core feature of kotlin the the language is built to support. so in using optional you are using javas hacky tool that is designed to do what kotlin natively does.
Same, i used Continuation.resumeWithException, and the programme always truns wrong untill i removed it.
Such information should be present in the description.
There is a typo in the empty solution.
Line 11: implemention -> implementation
This comment is hidden because it contains spoiler information about the solution
Yes.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It can consume huge amount of memory, right?
I find your solution of
pred
to be both amazingly simple and elegant.This comment is hidden because it contains spoiler information about the solution
Approved
What's the problem with the package statement? I don't think it can cause any problem.
You can use
though.
Could you please rate this Kata and give your satisfaction?
Otherwise this Kata will never get approved to be a non-beta Kata (which means non of you guys will actually earn honor by doing this).
Loading more items...