8000 add test · AllAlgorithms/javascript@d748954 · GitHub
[go: up one dir, main page]

Skip to content

Commit d748954

Browse files
author
Dito
committed
add test
1 parent 7f550f6 commit d748954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sorting/heapSort.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ function heapSort(input) {
4747
}
4848
}
4949

50-
let arr = [3, 0, 2, 5, -1, 4, 1];
50+
const arr = [3, 0, 2, 5, -1, 4, 1, -2];
5151
heapSort(arr);
52-
console.log(arr);
52+
console.log(arr);

0 commit comments

Comments
 (0)
0