Sattolo's algorithm (Cyclic Permutations Generating Random Permutations)
Jump to navigation
Jump to search
Time Complexity
$O(n)$
Space Complexity
$O({1})$ words
(Essentially in-situ)
Description
Approximate?
Exact
Randomized?
Yes, ??
Model of Computation
Word RAM
Year
1986
Reference
https://www.sciencedirect.com/science/article/abs/pii/0020019086900736