Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that finds the sum of the positions of all set bits in a binary number.

Run the code to see the output here...