Tagged Questions
7
votes
13answers
1k views
Shuffle a deck without local variables
The object of this puzzle is to take a deck of 52 cards and shuffle it so that each card is in a random position.
Given (i.e. assumed to exist already):
A length-52 array of integers representing ...