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.
Add a note in the description that there may be leading zeroes present, as the line about valid inputs somewhat implies that isn't the case when the original language is python.
This comment is hidden because it contains spoiler information about the solution
Random tests should run a consistent number of times, doing a random amount of tests between 1 and 10 is not really sufficient.
Just bump it up to 100 tests, there is no concern with performance here.
Random tests should probably also test for lazy evaluation.
CoffeeScript translation
Scala translation
Is this meant to be a golfing kata? The description is extremely unclear as to what is expected here.
Scala translation
There's now a pending Haskell translation that matches the spec. I have literally no idea how to use rust though so someone else might want to do that.
Changes random test generation to be compliant with the spec provided in latest python fork.
Is the live Haskell version different to the latest approved translation? I'm sure I checked that and it was the same as the others.
EDIT: Nope I just can't read.
I can't do COBOL :(
My only comment would be to change the wording of item 3 to
a will always be greater than or equal to zero.
and have the rest of the translations follow your specification.Python fork with description updated to match test specifications
Loading more items...