Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to calculate the number of bits required to represent a number in binary.

Run the code to see the output here...