Javascript Data Structures
A small library of data structures for javascript
Data Structures Available
- Binary Search Tree
- Linked List - Doubly
- Linked List - Singly
- Max Binary Heap
- Priority Queue
- Stack
- Queue
Installation
Using npm:
$ npm i @codyholmes/data-structures
Note: add --save if you are using npm < 5.0.0
In Node.js:
const { LinkedList } = require('@codyholmes/data-structures');
let myLinkedList = new LinkedList();
myLinkedList.insertFirst(5);