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.
not understand the logic... for an example in indexes:
number 9209546890550 must have 9209546895005 - to get the correct answer we need to make 2 step ( 5 - 0 and 0 - 5),
number 4465 must have 4546 - to get this we need also 2 steps
number 29977643211 -> 39977642211, here only one step... but if have 2 steps as in previous 2 numbers we can get smaller int for an example 31•••• etc
ooooommmmmgggggg....