Ord-Smith ( All permutations)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O({1})$ per permutation

Space Complexity

$O(n)$ auxiliary words

(O(n)-sized array q (as in paper) necessary)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1967

Reference

https://dl.acm.org/doi/pdf/10.1145/362896.362913