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

From Algorithm Wiki
Jump to navigation Jump to search