Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
fisherYates.go

README.md

Knuth / Fisher-Yates Shuffle

Implementation of the Fisher-Yates/Knuth shuffle

Fisher-Yates/Knuth Overview:

Randomly picks integers to swap elements in an ubiased manner.

Time Complexity: O(n)

Space Complexity: O(n)

Pseudocode: http://en.wikipedia.org/wiki/Fisher-Yates_shuffle

You can’t perform that action at this time.