Monday, December 19, 2005

Shuffling a Deck of Cards

Represent a deck of cards in a data structure of your choice. Defend your choice. Write a method that will randomly shuffle the deck of cards. Prove that your shuffle algorithm has a uniform distribution.

1 comment:

b.p. said...

man, this is such a geeky blog :P