Topic: Bit Manipulation Problem / Level: intermediate

Problem: Implement a function that counts how many integers can be represented using k bits.

Run the code to see the output here...