Topic: Bit Manipulation Problem / Level: beginner

Problem: Determine if a number can be represented as a sum of distinct powers of two.

Run the code to see the output here...