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.
I analyze this code this is the cleverest solution because of the rangeClosed() method it isolate the numbers to get the expected sum
Thank you this code is very helpful specially on String manipulation.
I have learned that in the split method I can use regex on it and The \G
really
Preloaded.doTest("283910", 83910); really ?
in my ide it's right your sample test are wrong
sorting algo
This comment is hidden because it contains spoiler information about the solution
did you answer it ?
indeed! I ended up RTFMing on the "codewars" nomenclature. Thank you
this kata is harder than I thought
Yup that's my concern because my code is wrong but some how it passed
Zizou: could you check this? Also, note above, an incorrect code passed because
2, 2, 4
wasn't tested, maybe you should add that too to the fixed tests.Random tests are ok, your code is wrong. It is true the tests are lacking some cases that should be fixed tests and that allowed your incorrect code to pass, but it was already reported so I'll close this one.
Your code fails with these values for instance: a = 2, b = 2 and c = 4.
there is a bug in the random test please fix it thank youuuu when I attempt it it shows some not compared output then when I try again it passed
what the heck random test what's the problem