Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program that counts how many binary numbers can be formed from a given binary string.

Run the code to see the output here...