8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd31c76 commit e26ca00Copy full SHA for e26ca00
src/kernel/_fisheryates.js
@@ -1,5 +1,5 @@
1
/**
2
- * Sample element from an array using Fisher-Yates method.
+ * Sample elements from an array using Fisher-Yates method.
3
*
4
* NOTE: The original description of the algorithm by Fisher and Yates [1] had
5
* unnecessary bookkeeping which made the algorithm run in O(n * (j-i)) time.
0 commit comments