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 1e7bc06 commit a8ce359Copy full SHA for a8ce359
src/sorting/quicksort-middle.js
@@ -19,6 +19,7 @@
19
* Partitions the array in two parts by the middle elements.
20
* All elemnts which are less than the chosen one goes left from it
21
* all which are greater goes right from it.
22
+ * Uses Hoare's partitioning algorithm.
23
*
24
* @param {array} array Array which should be partitioned
25
* @param {number} left Left part of the array
src/sorting/quicksort.js
@@ -14,7 +14,7 @@
14
}
15
16
/**
17
- * Partitions given subarray.
+ * Partitions given subarray using Lomuto's partitioning algorithm.
18
* @private
* @param {array} array Input array
0 commit comments