How to shuffle a deck of cards in a fast efficient way? Or, given an array of length n (e.g. 10000) and natural numbers from 1 to n, how to reorder the data series to be as random as possible (random permutation)? This is a classic computer science question, and it makes a good technical [...]
Archive for March, 2009
Knuth Shuffle
Posted in Quiz on March 25, 2009 | Leave a Comment »