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.
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
Kotlin is the language of the future, how wonderful!
I'm amazed about kotlin
This comment is hidden because it contains spoiler information about the solution
Nice solution
Loading more items...