NPM package for data structures and algorithms [JS]
JavaScript doesn't have as many built-in data structures as other languages, so I’ve been working on a library for frequently used data structures and algorithms. It’s something I’ve been building over time to help make JavaScript a level playing field to Python, Java, and C++.
I hope this library will be useful in projects and be a helpful resource for learning new data structures :)
beavr-js
Data structures and algorithms written in JavaScript with TypeScript types.
This package contains the following data structures and algorithms:
- Priority Queue
- Queue
- Deque
- Linked List
- Doubly Linked List
- AVL Tree
- Segment Tree
- Trie
- Union Find
- GCD (Greatest Common Denominator)
- LCM (Least Common Multiple)
https://www.npmjs.com/package/beavr-js
Would love to hear any thoughts or feedback!
Comments
Post a Comment