d3-array icon indicating copy to clipboard operation
d3-array copied to clipboard

generating permutations

Open mfulton26 opened this issue 5 years ago • 1 comments

Would you be open to the addition of a generator function to generate all permutations of an array?

e.g. I have one I ported from Collections2.java · google/guava that I could contribute. It is an implementation of the Plain Changes algorithm for permutations generation described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7, Section 7.2.1.2.

mfulton26 avatar Sep 18 '20 11:09 mfulton26

That sounds cool.

curran avatar Sep 18 '20 17:09 curran