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.
Python, possibly others
A solution such as this one will sometimes pass the kata even though incorrect.
Tests should include years divisible by 100, especially in this case years that produce an odd number when floor div by 100.
See the fork just posted below for a fix for Python.
Python Fork
Includes fixed tests and random tests that are guaranteed to produce years that fail a "sometimes pass solution" such as this one.
There appears to be a problem with the Coffeescript version of this kata with respect to the Random Tests. I receive the following error message "RangeError: Maximum call stack size exceeded" when the Random Tests are performed. If I copy the first random test arguments and make a new Fixed test using those exact same arguments, the error message is not generated.
This comment is hidden because it contains spoiler information about the solution
Deprecation warning in Rust (tests use an outdated function):
C++ Translation.
Just realize i misunderstand the phrase
the first in order of appearance
Example case: BAABB
If you think B is first in order of appearance, it's wrong.
A is correct answer. It can paraphrase 'the first in order of appearance which have highest length`
This comment is hidden because it contains spoiler information about the solution
Rust: no random tests
Python new test framework should be used
JS: Should use Node v12 and the approriate assertion tools (mocha + chai).
Python new test framework should be used and 3.8 enabled
Python new test framework should be used and 3.8 enabled
This comment is hidden because it contains spoiler information about the solution
Python new test framework should be used and 3.8 enabled
Loading more items...