http://qs321.pair.com?node_id=695786


in reply to Re: Random Derangement Of An Array
in thread Random Derangement Of An Array

jacques,
Is this a modified Fisher-Yates shuffle? I am too tired to tell. If it isn't, then it won't work because a shuffle is not guaranteed to generate a derangement. If it is - please explain the modification.

Cheers - L~R