Strengthen your programming skills with tips and techniques from the experts
How many perfect riffle shuffles are required to restore a deck to its initial order?
Last week I compared the overhand shuffle to the riffle shuffle. I used random operations to simulate both kinds of shuffles and then compared how well they mix cards. The article caused one my colleague and fellow blogger, Rob Pratt, to ask if I was familiar with a bit of