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.
The time I was ready to submit my solution, I thought this kata should be ranked as 4 kyu. However, after reading the cleverest solution, I realize I still need to learn more algorithm and method.
It means if 0 comes after 9, 0 can be seemed as 10, but 1 shouldn't come after 10
This Kata reminds me of a question:
a=[1,2,3]
b=a
a.pop()
The result of b is [1,2]
So how can we store a list?