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.
Random tests in Haskell only test inputs up to 100. I've made a fork that updates the random inputs to match the description (values up to 500,000)
Java translation
Haskell translation
Description has also been updated to clarify that indexing is 1-based.
Rust translation
C translation (author inactive)
This is a backport of the C translation for the master level of this kata.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Typescript translation
CoffeeScript translation
Lua translation!
Erlang Translation ready for review.
Perl Translation
Why on earth is the Python version asking to write a function which serves as a constructor for a class?
Ruby 3.0 should be enabled, read this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
Ruby 3.0 should be enabled.
Loading more items...