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.
Fixed for JS.
9.9.9.9
9.9.9.(9 + 1) => 9.9.9.(10 >= 10 = 0)
and so on, hopefully that makes sense.
The second and the last examples of the code show you this.
"...if there are, you have to set it to 0 and increment the next version number."
Will you please give an example of this?
When giving the final submission, the much larger, random numbers in the tests will cause solution to fail. I am guessing this is because of processing time. Solution works in other environments.
It fails for this:
Testing for 536878877
It should work for random inputs too - Expected: 144119464552830000, instead got: 144119464351499500
My code passed the test cases but when I submit, a couple of cases fail. I don't know what cases are failing though. Can I get info about the failing test cases?