in reply to Re: Random Derangement Of An Array
in thread Random Derangement Of An Array
Which looks like it may work. But randomness always got me confused (and into furious rows with my math teacher, but that's another story).swap(\$a[$i], \$a[$random]);
|
|---|