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.
JS fork:
Mocha
+Chai
for assertion).JS tests fall short of the kata spec (
0 < n < 10e6
), and also found forn = 2441400
the reference solution returnsundefined
instead of the expected triplet, though it works for some larger values.Any hint? I can't find out how to tackle this.
Description should be language-agnostic. (Removal of
pythagorean_triplet
in the first paragraph)COBOL translation.