Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that checks if the binary representation of a number contains only one contiguous block of 1s.

Run the code to see the output here...