Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to reverse the first k bits of a number.

Run the code to see the output here...