java bitwise operators

Bitwise Operators

Some simple tricks of shifting binary 1 and 0 around and using and (&), or (|) operators could help a lot with eliminating the use of arrays and data structure when implementing a checking algorithm. Operators Precedence postfix expr++ expr– unary ++expr –expr +expr -expr ~ ! multiplicative * / % additive + – shift << >> >>> relational <…