We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1891b73 commit a1bea0bCopy full SHA for a1bea0b
examples/chapter10/01-UsingMinHeap.js
@@ -22,6 +22,6 @@ for (let i = 1; i < 10; i++) {
22
23
console.log(heap.getAsArray());
24
25
-console.log('Extract minimum: ', heap.extract());
+console.log('Extract minimum: ', heap.extract()); // 1
26
console.log(heap.getAsArray()); // [2, 4, 3, 8, 5, 6, 7, 9]
27
0 commit comments