Topic: Bit Manipulation Problem / Level: beginner

Problem: Count the number of contiguous 1s in a binary number.

Run the code to see the output here...