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.
('' + n)
That's a neat efficient way to coerce an int into a string! Thanks for sharing!
This was accidentally submitted before cleaning up!
I'm guessing, because each encoding swaps one character with another distinct character in a loop that includes all characters, by encoding 66 times you cycle through all characters in the loop and return to the original character. Doing it 65 times stops one short of that and gives the same result as -1 time.