Concept Flow - Check if Number is Even or Odd Using Bits
Start with number n
Perform bitwise AND: n & 1
Is result 0?
Yes→Number is Even
No
Number is Odd
The flow checks the last bit of the number using bitwise AND with 1. If the last bit is 0, the number is even; if 1, it is odd.
