Skip to content

generating permutations #171

@mfulton26

Description

@mfulton26

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions