Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that counts the number of 1 bits between the ith and jth positions in a binary number.

Run the code to see the output here...