Don't ask to ask, just ask | |
PerlMonks |
Re^3: Generate all unique combinations of 1 and 0 using specified length of "0"-string and count of 1's [Updated]by Eily (Monsignor) |
on Sep 18, 2020 at 19:45 UTC ( [id://11121934]=note: print w/replies, xml ) | Need Help?? |
I mentioned your post because reading your it made me think "oh right, using substr is probably more efficient than changing then joining an array". Although it's not really the generalisation of your code. Also it let me make the Perlmonks::Combinatorics joke 😁
In Section
Seekers of Perl Wisdom
|
|