Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that counts how many distinct subsequences can be formed in a binary string.

Run the code to see the output here...