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's a bitwise AND operator. Examples:
Odd 3: 0011 & 0001 == 0001.
Even 4: 0100 & 0001 == 0000.
As you see, even numbers & 1 equals 0.
me too
This comment is hidden because it contains spoiler information about the solution
Thanks Voile! Yea, you don't seem to understand the etiquette here, amirh19. What makes you think you'll understand my explanation?
"Shitty"? Compared to your extremely long and convoluted solution that nobody would have any hope of understanding?
I think it goes without saying which one is the real "shitty code" ;-)