All Questions
1 question
14
votes
17
answers
4k
views
Shuffle a deck without local variables [closed]
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:
An array, deck, of 52 distinct integers ...