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.
Also this kata would be a duplicate of katas like https://www.codewars.com/kata/5978a5915d219d560d00008e
The semantics of division operator in the kata is not specified: is it integer division or fractional division?
I think this is a little strange too. I mean it's okay to have 0 as the increment of 9 in incrementation, but then what's the incremenet of 0? And it's okay to have 0 as the decrement of 1 in decrementation, but then what's the decrement of 0 again? Shouldn't this be 9???! To me, this looks a little strange. I think, the logical sequential order of digits is not obvious.
Anyways, cool kata!
First, requirements for size 8 contradict the ones for size 2.
Second, it would be a good idea to swap expected and actual maps, so that JUnit would not surprise anyone with confusing messages like "expected 0 but was 1", saying that about a wrong 0 that I've got.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It feels unfair that 567890 (incrementing nine to zero) is required, while 109 (decrementing zero to nine) is forbidden.
Anyway, thank you for this Kata!