5 ms·
From the article: "Stated more formally: given non-negative integers k and n with k <= n" Focus on k <= n. Also, in the comments section in the article, the a
by stillworks 7y ago
From the article: "Stated more formally: given non-negative integers k and n with k <= n"
Focus on k <= n.
Also, in the comments section in the article, the author counters a comment in favor of Python's random generator along the same lines.
- deleted 7y ago[deleted]
- tripzilch 7y agoHe also just throws this out there: "visual inspection was enough to convince me that it [Python's sample function] was broken, without going further" -- with no explanation or in what way it is supposedly broken.