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 think it's 8 kyu, not 7
This comment has been reported as abusive
Was an extra test for empty vectors added at a later time? I see submissions that don't test for that. I had to test for that before my code passed all tests.
Perl translation
I feel like it lacks a test for values exceeding limit for given int type.
bro, to make your comment readable take a look on this docs : https://docs.codewars.com/references/markdown#displaying-code
could not figure out why my code was not passing this one test case... maybe some rounding error somewhere, but could not find it. feedback welcome
Fixed with latest fork. A specific description is not required since that is the purpose of the stub code in initial solution setup provided and also sample tests
Fixed in latest fork above
I've made a fork here that adds the signature to the solution setup code. Making the solver guess what the type signature should be is completely out of the scope of this kata.
Missing following tests
[]
[0]
in
Dart
Java
Lua
Python
Scala
No fixed tests in Clojure
This comment is hidden because it contains spoiler information about the solution
Description:
But there are no empty arrays in the tests. That's too bad. Because in this case solutions with reduce would not work.
Loading more items...