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 36bbfed commit b17ba61Copy full SHA for b17ba61
src/algorithms/sorting/heap-sort/__test__/HeapSort.test.js
@@ -8,6 +8,8 @@ import {
8
} from '../../SortTester';
9
10
// Complexity constants.
11
+// These numbers don't take into account up/dow heapifying of the heap.
12
+// Thus these numbers are higher in reality.
13
const SORTED_ARRAY_VISITING_COUNT = 40;
14
const NOT_SORTED_ARRAY_VISITING_COUNT = 40;
15
const REVERSE_SORTED_ARRAY_VISITING_COUNT = 40;
0 commit comments