Monthly Archives: December 2014

Pick any two cards

Let’s play a game: thoroughly shuffle a standard pack of 52 playing cards.  Now name any two card ranks, e.g., seven and jack.  If a seven and a jack happen to appear next to each other in the deck, you … Continue reading

Posted in Uncategorized | Leave a comment

Card shuffling algorithms, good and bad

Introduction This is motivated by a recent interesting post on the DataGenetics blog about various algorithms for randomly shuffling a list of elements, e.g. a deck of playing cards.  There is a similar article from 2007 at Coding Horror, and … Continue reading

Posted in Uncategorized | 8 Comments