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.
It can be done in better time and space complexity than this
Because the man was given directions to go from one point to another.
If he just stays still people will think he hasn't reached his destination.
// Mod of 2 or 5 return -1, since this eliminates the coprimes of 10
Eliminates the not coprimes of 10