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.
Haskell fork including random tests and updating fixed tests to check for approximate equality.
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )Ruby
main.rb:4:in `inspect': stack level too deep (SystemStackError)
Something is wrong with this kata. It throws the same error when solved in 3 different ways (recursion, creating a new array through a loop, converting to a string and back to an array using the eval method). At the same time, I cannot see on which test I have an error, since it does not open a single example except for 2 Sample Tests. Is this kata broken or does it just artificially forbid any solutions other than what the author has in mind?
Ruby: Function name should be in snake_case.
This comment is hidden because it contains spoiler information about the solution
from what I can see every language uses strict equality despite the fact that the result is a floating-point number
3 years later, and still no random tests (in python and ruby for sure)
Every languages need to have random tests added like the PHP version.