How much needs to be in this article before the stub notice is removed? We could go on and on about random permutations, but I don't think the article should b
| This article has not yet been rated on Wikipedia's content assessment scale. |
How much needs to be in this article before the stub notice is removed? We could go on and on about random permutations, but I don't think the article should be too long... --Adking80 20:17, 28 Mar 2005 (UTC)
the Knuth shuffle, is to start with the identity permutation, and then go through the positions 1 through n ... I would say to n-1 (there is no shuffle for a single member permutaion). Cepek 12:45, 25 February 2007 (UTC)
The article is inconsistent where it says (a) "It requires a function uniform(m) which returns a random integer between 0 and m inclusive." and (b) "unsigned uniform(unsigned m); /* Returns a random integer 0 <= uniform(m) < m */"
The first statement says that both 0 and m are within range, but the the second statement says that m is excluded.
Knuth shuffle code is wrong. The swap position j should be from i to (n-1). Btw. it is often convention that uniform(m) picks among m numbers, i.e. 0...(m-1) or 1...m. Also, I will link to the existing wikipedia article on Knuth / Fisher–Yates shuffle. There the possible biases are discussed in detail. — Preceding unsigned comment added by 141.89.116.54 (talk) 10:00, 9 February 2015 (UTC)
This article was the subject of a Wiki Education Foundation-supported course assignment, between 26 May 2020 and 3 July 2020. Further details are available on the course page. Student editor(s): Yifeng Li.
Above undated message substituted from Template:Dashboard.wikiedu.org assignment by PrimeBOT (talk) 07:48, 17 January 2022 (UTC)
https://scratch.mit.edu/projects/191308642/
Instructions: Generate a nearly sorted list, then use bogo sort. Identify the scrambling algorithm used. 83.31.148.107 (talk) 09:19, 28 December 2017 (UTC)
The instructions are similar, except with reversed list instead of the non-available nearly sorted. 83.31.148.107 (talk) 09:23, 28 December 2017 (UTC)
https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle seems to describe the same algorithm. Why there is no link? — Preceding unsigned comment added by 158.129.140.119 (talk) 16:25, 15 February 2019 (UTC)
I've changed the introduction sentence to be more approachable. It was:
New version:
I hope it's an improvement. TuukkaH (talk) 12:07, 7 April 2025 (UTC)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.