Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that checks if a binary number has a single contiguous block of 1s surrounded by 0s.

Run the code to see the output here...