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.
Go translation ^-^
Kotlin translation
This error message in C# version with
<System.Collections.Generic.List
1[System.Int32]>` does not help much at all.This comment is hidden because it contains spoiler information about the solution
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/162.
Please join the discussion to help us identify duplicate kata and retire them.
Clojure translation Please check and approve it.
Java translation I did it a while. Please check and if you happy approve it.
Parameter names in the description are wrong.
Random tests something has a result ending with
.xx5
, which is suspect to floating point errors.Initial code still has the wrong variable name order.
Making a kata about 2 duplicate concepts combined together does not make this not a duplicate.
For me there was a problem with random test cases. 3-4 tests failed because of mismatch like
0.25 should equal 0.24
,0.79 should equal 0.8
and0.46 should equal 0.47
(these are errors from single test run). When I copied code from accepted solution same problem persisted. Seems like random test cases in such katas isn't that good idea.This comment is hidden because it contains spoiler information about the solution