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.
Can you please edit the writing part? It is pretty ugly and confusing. It can be done better. :)
Random Test is Not random enough.
Trivial map/filter/reduce is not a novel kata idea.
js sample tests are broken
The description has the following example:
But the reference solution computes:
These result may be different if computations are done with floating-point numbers (for example, they are different for
n = 10
). You may either:Compare result with
assert_approx_equals
.Clearly specify the order of all operations (not recommended).
Compute and test exact results using
Fraction
.