Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a program to determine if the binary representation of a number has a single contiguous block of 1s.

Run the code to see the output here...