liyaodong
2/18/2016 - 6:44 AM

2016-02-18

2016-02-18

Write a method to shuffle a deck of cards. It must be a perfect shuffle - in other words, each 52! permutations of the deck has to be equally likely. Assume that you are given a random number generator which is perfect.