Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: