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.
Python, Ruby, Crystal and c++ translations approved; let me know when done, so that I can edit the description accordingly (and please, do not edit it before, so to avoid merge conflicts!), thanks :)
Not to be more picky and annoying than I usually am, but as long as the kata is young, can we change the output to
false
to-1
, to stay consistent with the type and try to follow some best practice?It would also make the kata doable at the same level of difficulty with statically typed languages, among other things.
Getting late...
Done wrong, sorry.
It's not a fraction but a percentage. As a fraction, it would have been
.025
.Done.
Thanks for pointing that out! :)
Good kata, really enjoyed it
From Description:
2.5 Is not an integer. (It's a percentage as opposed to a fraction. That's probably what you had in mind when you wrote that.)
(You're also missing some spaces after all those
#
s.)Thank you :)
Great! :)
A very high quality Kata overall with a clear, well thought-through Description which addresses ordinary and edge cases alike and a very rigorous set of test cases that achieves full code coverage through testing ordinary, edge and random cases, keep up the good work :D
or Gordon Gekko!.. or Anton Kreil if you know who that is haha
Solving this kata feels like being Bobby Axelrod! :-)
Just want to say love the theme, more trading kata please!
Thank you for pointing that out :)
Loading more items...