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.
Nice
This comment is hidden because it contains spoiler information about the solution
well, from the docs (https://kotlinlang.org/docs/native-objc-interop.html#initializers) ..
so what is this kata about
This comment is hidden because it contains spoiler information about the solution
is the meaning of it - '0' to convert char to integer again?
Is this really the best practice? I mean should I not put the numerator as a seperate variable? Granted I have done the same thing, but is it really best practice?
Beautiful
brev=wit
brevity is talent's sister
Shouldn't there be some rounding? What if the discount is, say, 17%?
genius
I'm laughing so hard, this is a brilliant solution
nice :D
Quickselect has O(n**2) in the worst case though. Just iterating over the list and setting the two biggest like in my solution would be optimal in runtime
Nice
Loading more items...