We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a2949 commit 0adaac7Copy full SHA for 0adaac7
src/algorithms/sorting/quick-sort/QuickSortInPlace.js
@@ -54,7 +54,7 @@ export default class QuickSortInPlace extends Sort {
54
/*
55
* While we can use a default parameter to set `low` to 0, we would
56
* still have to set `high`'s default within the function as we
57
- * don't have access to `array.length - 1` when declaring paramaters
+ * don't have access to `array.length - 1` when declaring parameters
58
*/
59
const lowIndex = inputLowIndex === undefined ? 0 : inputLowIndex;
60
const highIndex = inputHighIndex === undefined ? array.length - 1 : inputHighIndex;
0 commit comments