We consider producing permutations and combinations in lexicographical order. Except for the array that holds the combinatorial object, we require only O(1) extra storage. The production of the next item requires O(1) amortized time.
CITATION STYLE
Itai, A. (2001). Generating permutations and combinations in lexicographical order. Journal of the Brazilian Computer Society, 7(3), 65–68. https://doi.org/10.1590/S0104-65002001000200009
Mendeley helps you to discover research relevant for your work.