Topic: Bit Manipulation Problem / Level: beginner

Problem: Check if the binary representation of a number has a single set bit.

Run the code to see the output here...