Topic: Bit Manipulation Problem / Level: beginner

Problem: Check if a number has alternating 1s and 0s in its binary representation.

Run the code to see the output here...