in reply to Re: Re: Shuffle an array
in thread Shuffle an array
Are you saying my description is inaccurate? If so, please clarify in what way you think that it is wrong.
My description is accurate. The link you give chooses a random value from 1 to n each time. My description reduces the range by 1 each time. This is the correct Fisher-Yates technique.
|
|---|