Data Structures and Algorithms in Typescript
Note: this is primarily for my own learning. I'll aim to keep test coverage at 100%, but I have made this to practice 1. DSA and 2. Publishing and maintaining an npm package. Test and confirm for yourself before importing and using.
Structure | Type | Notes |
---|---|---|
Linked List | Sequence | This is a Doubly Linked List |
Stack | Sequence | Uses a LinkedList with the tail as the head of the Stack |
Queue | Sequence | Uses a LinkedList with the head as the front of the Queue |
Deque (Double-ended Queue) | Sequence | Uses a LinkedList with the head as the front of the Deque |
Circular Buffer | Sequence | Uses JS array as case of Buffer |
Jeff Zhang - Iruka - DSA in Typescript
William Fiset - Algorithms - DSA in Java
Algorithms - Jeff Erickson