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 is sub-optimal. By using "|", the code must evaluate both n % x and n % y, whereas just using "||" will save needing to calcuate the 2nd expression if the first is true.
I love to see 'unusual' solutions, it's always a delight.
I like the use of the direction enum
Neat! How did i not think of that... :)