We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ee3dd3 + 88fe5c4 commit b09345dCopy full SHA for b09345d
1 file changed
algorithm/sorting/heap/basic/code.js
@@ -16,7 +16,7 @@ function heapSort(array, size) {
16
tracer._select(j);
17
18
heapify(array, j, 0);
19
- tracer._print('Swapping elemnts : ' + array[0] + ' & ' + array[j]);
+ tracer._print('Swapping elements : ' + array[0] + ' & ' + array[j]);
20
21
tracer._deselect(j);
22
}
@@ -44,7 +44,7 @@ function heapify(array, size, root) {
44
45
tracer._notify(largest, root);
46
47
- tracer._print('Swapping elemnts : ' + array[root] + ' & ' + array[largest]);
+ tracer._print('Swapping elements : ' + array[root] + ' & ' + array[largest]);
48
49
heapify(array, size, largest);
50
0 commit comments