Fisher–Yates/Knuth shuffle (General Permutations Generating Random Permutations)

From Algorithm Wiki
Revision as of 11:15, 15 February 2023 by Admin (talk | contribs) (Created page with "== Time Complexity == $O(n^{2})$ == Space Complexity == $O(n)$ words (Need to keep track of which elements have been struck out already) == Description == == Approximate? == Exact == Randomized? == Yes, ?? == Model of Computation == Word RAM == Year == 1938 == Reference == https://www.worldcat.org/title/statistical-tables-for-biological-agricultural-and-medical-research/oclc/14222135")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O(n^{2})$

Space Complexity

$O(n)$ words

(Need to keep track of which elements have been struck out already)

Description

Approximate?

Exact

Randomized?

Yes, ??

Model of Computation

Word RAM

Year

1938

Reference

https://www.worldcat.org/title/statistical-tables-for-biological-agricultural-and-medical-research/oclc/14222135