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.
C# Translation
The kata description asks what the last number Jason says, but doesn't say what numbers he says rather than calculates.
start - what number Jason starts counting from
implies that he says the first number, but there is no mention of saying other numbers, only calculating them.In your Description you state
2 seconds if subtracts N from a one-digit number (if 1 <= start <= 9)
. In order to pass the tests in your kata however, 0 is also treated as a one-digit number. For that reason, your description should be changed to2 seconds if subtracts N from a one-digit number (if 0 <= start <= 9)
Negative cases should also be provided as example tests
Cheers
Hi,
The ref solution doesn't handle all the cases generated in the random tests:
Random Tests do not produce the condition where an underscore is folowed by an uppercase letter. This hacky solution takes advantage of the fact that this condition is only tested once as a fixed test.
errr, no you did not fix the solution setup, ie the starting code for the user. it's still: