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.
Why is this problem marked with a "recursion" tag? Did anyone at all use recursion for the solution? Seems that iterative is so straight forward, there's no need.
This comment is hidden because it contains spoiler information about the solution
Java fork which improves the older original Java fork + addresses the issues listed below (more details in the discourse of former).
Is this really a level 5kyu kata? because I don't feel tho
C:
const
-qualifiedjs fork 🤖🤖🤖
mocha/chai
assertionslodash
for randomnessRandom tests in C++ are really bad, with the biggest problem of having the random loop set up incorrecly so it almost never generates inputs larger than 100 elements.
Is this meant to come with some code pre-written? Some languages have significant partial implementations, whereas other languages only have the bare-bones you usually see with kata.
Languages with boilerplate only: Crystal, Python, Ruby
Languages with solution partially implemented: C#, JavaScript
Haskell translation
Input should not be provided as a sequence when it is of fixed size.
JavaScript: Reference solution and example solution are unreasonably golfed and should be changed to some more maintainable form. I would do it myself, but I cannot make heads and tails of this mess. Halp!
How exactly are the spells produced? I could figure out how to derive modifier and maximum spell level!
Haskell fork
$O(n^2)$
solutions fail.The C# reference solution returns different results compared to other languages.
Possible Java translation
Loading more items...