Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a function to find the smallest integer that can be formed using the bits of a given integer.

Run the code to see the output here...