Topic: Bit Manipulation Problem / Level: intermediate

Problem: Create a function to find the number of unique values that can be generated by toggling the k-th bit of a binary number.

Run the code to see the output here...