1.0.0 • Published 4 years ago
binary-heap-ds v1.0.0
binary-heap
Binary Heap implementation in JavaScript
Installation & Usage :
npm install binary-heap-ds
const BinaryHeap = require("binary-heap-ds");
let bh = new BinaryHeap();
bh.insert(10); //Inserts 10 to the heap
bst.extractMax(); // pops max value out of the heap and adjusts rest of the heap
1.0.0
4 years ago