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.
in the future, please do not use the
issue
tag to ask for help and use markdown to post your code(see there).
Debug your code. I added this line to your code, and this is what I see for
n = 56789
:whereas the proper rotations of
56789
as shown in the description are:This comment is hidden because it contains spoiler information about the solution