This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingRead parity from the lowest bit.
What this asks
Decide whether a number is even or odd using its bits.
x & 1: the lowest place value is the only bit that decides parity.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing