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 translation
Lua translation!
Groovy Translation
Lua translation !
All languages should have fixed tests below to invalidate some cheezy solutions that check for summation == 0
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, -2, -1]
Python translation
All languages other than JS, TS and Python:
Relevant fixed tests are contained within the linked issues, Python and JS have sample random test code which should provide sufficient coverage.
Python: Random tests are vulnerable to input modification
To be consistent with the description, the C function should be called
compute_depth
rather thaninteger_depth
.python new test framework is required. updated in this fork
python new test framework + random tests are required. updated in this fork
python new test framework is required. updated in this fork
There are tests with
1
in Rust.Python reference solution is wrong. For example:
Edge cases (e.g. 4453, 14399, 34595, 44969, 408593, 218683, 663193) should be in fixed tests in all languages.
Hello! Why do I have such a result?
Expected: [764, 987, 567, 155, 329], instead got: [329, 312, 181, 266, 606]
what are the parameters here: a.letgth = ? i = ? n = ?
Loading more items...