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.
This uses n mod (10 raised to the power of the number of digits in n). So if n = 25, then 625 % 100 (where 100 is the result of 10 ^ 2). The idea being that anything in a place value greater than n is not of interest in the comparison. That's not a great written explanation but hopefully helps clarify.
I'm trying to understand this solution as well, could someone explain it to us?