Skip to content

Commit a1bea0b

Browse files
committed
[Heap]
1 parent 1891b73 commit a1bea0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/chapter10/01-UsingMinHeap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ for (let i = 1; i < 10; i++) {
2222

2323
console.log(heap.getAsArray());
2424

25-
console.log('Extract minimum: ', heap.extract());
25+
console.log('Extract minimum: ', heap.extract()); // 1
2626
console.log(heap.getAsArray()); // [2, 4, 3, 8, 5, 6, 7, 9]
2727

0 commit comments

Comments
 (0)