binary-heap-ds

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i binary-heap-ds

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.09 kB

Total Files

5

Last publish

Collaborators

  • kumar_gaurav_mishra