B
biomahui
Is there a quick way to generate combinations?
For instance, if I have four elements(1,2,3,4), I can have a
comnination of (1,2,3), or (2,3,4),(1,3,4),(1,2,4).
but if I have 300 elements to generate combinations with 20 elements;
how can I get it with a concise scripts in perl.
Thanks in advance.
For instance, if I have four elements(1,2,3,4), I can have a
comnination of (1,2,3), or (2,3,4),(1,3,4),(1,2,4).
but if I have 300 elements to generate combinations with 20 elements;
how can I get it with a concise scripts in perl.
Thanks in advance.