Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to determine if a number can be expressed as the sum of distinct powers of two.

Run the code to see the output here...