4 ms·
And a uniform random shuffle chooses any of the N! orderings with equal probability. One is looking at a single element as the output of the process, and anoth
by KMag 3y ago
And a uniform random shuffle chooses any of the N! orderings with equal probability. One is looking at a single element as the output of the process, and another is looking at the entire list as the output of the process.
Also, there are plenty of non-uniform random distributions.