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.
Approved
Scala translation
Python fork with random tests and test grouping
D translation
thank you bro, don't get description of this kata at all) Can you add this link to kata's details?
approved
It's ok in the current version.
COBOL translation (author is inactive).
This comment is hidden because it contains spoiler information about the solution
In c++ they forget to put a ";" at the end of the class initialization. It must be:
This is the only case that I cannot understand and tried to recognize which forgotten ";" there in class initialization. So please fix it.
Giving examples doesn't mean there is no need to define what a negabinary system is.
https://en.wikipedia.org/wiki/Negative_base
This comment is hidden because it contains spoiler information about the solution
Unfortunately
-2,863,311,530
is not in the Integer range, so you would truncate it by casting to1,431,655,766
. Also there was no requirement in the description that it should work for the whole possible input range. I just translated test cases from the JavaScript version.How about adding the following tests?
Thanks, enjoyed a lot. =)
Loading more items...