Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that checks if a binary number contains exactly one 1.

Run the code to see the output here...