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.
Ok, thanks for the reply!
So this means that: (notice how only the last digit changes in the inputs)
1234321234321235
gives123 => 432 => 123 => 432 => 123 => 5
1234321234321234
gives1234 => 321 => 234 => 321 => 234
and we could produce examples arbitrarily long with only the last digits that differs while the output is completely different.
I mean that's interesting but it's a tiny bit more challenging to implement than I first thought! :D
What is
[1, 2, 3, 4, 5, 4, 3, 2, 3, 4]
supposed to return?"1:5+1,4:3-1,3,4"
or"1:4+1,5:3-1,2:3+1"
?Thanks!