Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
chopin
5mo ago
0 comments
Share
Is there a O(n) shuffling algorithm? In place, I don't think so.
0 comments
default
newest
oldest
tialaramex
5mo ago
Um, the "Knuth Shuffle" aka "Fisher-Yates" ?
https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
j
/
k
navigate · click thread line to collapse