datastructures-js

The javascript data structures project (w/ typescript support).


Heap


Install

npm install --save @datastructures-js/heap

require

const { Heap, MinHeap, MaxHeap } = require('@datastructures-js/heap');

import

import { Heap, MinHeap, MaxHeap } from '@datastructures-js/heap';

Full API

datastructures-js/heap