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.
No, the number is the number of miles you have driven. So "within the next two miles" means you need to check (number + 1) and (number + 2). Return 1 if either of those are "interesting" (and the original number was not interesting).
E.g. 122 is "almost interesting" because 123 is interesting. 121 is interesting in its own right because it's a palindrome.
Also, your question shouldn't be marked as a spoiler.