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.
Bitwise operator
|
coerces operands to 32-bit signed two's complement values.I can't understand the binary | 0 part, what happened here?
Ignore the "even or odd" guide, start reading the number from the end, instead of the head, you will realise that it is always d, d2, d, d2, .... Whether the actual number has even numbers or not, doesn't matter.