Y
Hacker News
new
|
ask
|
show
|
jobs
by
skimbrel
5263 days ago
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.