Topic: Bit Manipulation Problem / Level: advanced

Problem: Write a program that counts how many binary strings can be formed with an odd number of trailing bits set to 1.

Run the code to see the output here...