Topic: Bit Manipulation Problem / Level: advanced

Problem: Write a program to find the smallest number with the same number of set bits as a given number.

Run the code to see the output here...