Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to find the total number of bits required to represent the sum of all numbers from 1 to n.

Run the code to see the output here...