How do i generate all possible subsets of an binary string?
- by mr.bio
Hi..
i have a problem, that i don't know how to solve it.
i have a binary string and i want to generate all possible binary substrings.
Example :
input : 10111
output: 10000, 10100,00111,00001,10110 ...
How can i do this , fast AND Smart ?