Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function to swap the first and last k bits of a number.

Run the code to see the output here...