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.
In reply to Re: Re: Re: Shuffle an array
by BrowserUk
in thread Shuffle an array
by FireBird34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |