Data Structures and Algorithms library for JavaScript. Pretty much still WIP but some are available for viewing.
- List
- Stack
- Queue
- Double-ended Queue
- Trie
- Binary Tree (TODO)
- Binary Search Tree
- AVL Tree (TODO)
- Suffix Tree (TODO)
- Segment Tree (TODO)
- Graphs (TODO)
- N-D array
- Bloom Filter
- Disjoint-set
- Counter
- Binary Search
- Quickselect
- Merge Sort
- Quicksort
- Heap Sort
- Topological Sort
- Breadth-first Search
- Depth-first Search
- Djikstra's Algorithm (TODO)
- Bellman-Ford Algorithm (TODO)
- Floyd Warshall Algorithm (TODO)
$ yarn install
$ yarn test --watch
Before pushing/submitting PR
$ yarn check-all