Bitwise Operations and tricks
You likely already know basic logical operations like AND and OR. Using if(condition1 && condition2) checks if both conditions are true, while OR (c1 || c2) requires at least one condition to be true. Same can be done bit-per-bit with whole numbers, ...
Sep 22, 20258 min read9