Hacker News new | past | comments | ask | show | jobs | submit login

You didn't cover the expected randomness of distribution of cards with each algorithm which can be the most important factor. And what does "properly shuffled" mean?



The distribution is the same for both... in this case "properly shuffled" obviously means an uniform distribution over all shuffles.


For some nice charts and pictures, you can see the original blog post this one was inspired by: http://datagenetics.com/blog/november42014/index.html It contains pictures for an algorithm that doesn't properly shuffle, as well as the fisher-yates shuffle.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: