eg. I want all the strings like 1. 110011000000 & 110000110000 2. 110011000000 & 110000001100 etc. Also what is the general algorithm to find these strings
Asked
Active
Viewed 59 times
0
-
3We don't write code for you. You write some code and we'll (maybe) try help fix it. – Marc B Aug 03 '16 at 17:09
-
This is a similar question for Hamming distance 2 http://stackoverflow.com/questions/36451090/permutations-of-binary-number-by-swapping-two-bits-not-lexicographically/36466454#36466454 – m69's been on strike for years Aug 03 '16 at 17:33
-
This is even more similar: http://stackoverflow.com/questions/37680863/number-of-different-binary-string-with-k-flips/37733467#37733467 – m69's been on strike for years Aug 03 '16 at 21:38