random shuffles

Ross Ridge rridge at csclub.uwaterloo.ca
Sat Jul 22 16:38:55 EDT 2006


David G. Wonnacott wrote:
> Couldn't we easily get an n*log(n) shuffle...

Why are you trying to get an O(n*log(n)) shuffle when an O(n) shuffle
algorithim is well known and implemented in Python as random.shuffle()?

                         Ross Ridge




More information about the Python-list mailing list