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 47785bd commit 582e0f7Copy full SHA for 582e0f7
src/binary-heap.js
@@ -90,6 +90,7 @@
90
}
91
var min = this.list[0];
92
this.list[0] = this.list.pop();
93
+ this.list[0].i = 0;
94
heapify(this, 0);
95
return min;
96
};
0 commit comments