Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
skimbrel
on Jan 14, 2012
|
parent
|
context
|
favorite
| on:
Show HN: A visual explanation of Fisher–Yates shuf...
The key here is that you aren't sampling the
same
uniform distribution each time. You shrink the sample space by one each time you remove a card and append it to the end.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: