Collection of pure js data-structure
- Array
- Map (Hashtable is a data structure that maps keys to values, Perfect hash function assigns each key to a unique index.)
- Set
- Weak Map
- Weak Set
- queue.js: Queue, First In First Out
- stack.js: Stack, Last In First Out
- balanced-parentheses.js: Using stack to validate balanced characters
- balanced-brackets.js: Using stack to validate balanced-brackets
- linked-list.js: Linked List, Support Next and Prev Node
- queue-with-two-stacks.js: Queue with two stacks
- priority-queue.js: Priority Queue
- tree-dfs-bfs.js: Tree Search (BFS and DFS)
- binary-tree.js: Binary Tree
- trie-tree.js: Trie Tree
- merkle-tree-simple.js: A simple and trivial implementation of sorted merkel tree
- LRU Cache - Least Recently Used data (using Doubly-Linked-List and Hash-Table)