G
Gary Labowitz
Wojtek said:There is something wrong with that idea, but just I cannot put my
finger on it)
Actually, randomly selecting cards from the cards remaining after a
selection has been made and placed in a target list is a more precise
shuffling method. It results in more even distribution of the outcomes. The
process of assigning random numbers to the positions in the deck and then
sorting the random numbers into ascending sequence is another way to
reorganize the cards (i.e. shuffling) and is a good method as well, but
takes longer. This is all covered in Knuth, BTW.