3 ms·
Fisher-Yates is one of the simplest things out there IMO Just using "$n xor $something" would be simpler. I am just not sure yet, what a good "$something"
by TekMol 6y ago
Fisher-Yates is one of the simplest
things out there IMO
Just using "$n xor $something" would be simpler. I am just not sure yet, what a good "$something" is.
- jhgb 6y agoHow does this guarantee the desired property of the output being a permutation?