Instructure of using the package

This commit is contained in:
Revone 2023-08-11 12:02:16 +08:00
parent 62bac55b6e
commit 7235126c62

View file

@ -1,5 +1,64 @@
# data-structure-ts
Hash (CoordinateSet, CoordinateMap) Heap (MaxHeap, MinHeap) Binary Tree (AVL Tree, Binary Indexed Tree, Binary Search Tree, Segment Tree, Tree Multiset) Graph (Directed Graph, Undirected Graph) Linked List (Singly Linked List, Doubly Linked List) Matrix Priority Queue (Max Priority Queue, Min Priority Queue) Queue (Queue, Dequeue) Stack Trie
## data structures
<table>
<tr>
<th>Data Structure</th>
<th>Description</th>
</tr>
<tr>
<td>Hash</td>
<td>CoordinateSet, CoordinateMap</td>
</tr>
<tr>
<td>Heap</td>
<td></td>
</tr>
<tr>
<td>Binary Tree</td>
<td>AVL Tree, Binary Indexed Tree, Binary Search Tree, Segment Tree, Tree Multiset</td>
</tr>
<tr>
<td>Graph</td>
<td>Directed Graph, Undirected Graph</td>
</tr>
<tr>
<td>Linked List</td>
<td>Singly Linked List, Doubly Linked List</td>
</tr>
<tr>
<td>Matrix</td>
<td></td>
</tr>
<tr>
<td>Priority Queue</td>
<td>Max Priority Queue, Min Priority Queue</td>
</tr>
<tr>
<td>Queue</td>
<td>Queue, Dequeue</td>
</tr>
<tr>
<td>Stack</td>
<td></td>
</tr>
<tr>
<td>Trie</td>
<td></td>
</tr>
</table>
## install
```bash
yarn add data-structure-ts
npm install data-structure-ts
```
![complexities](src/assets/complexities-diff.jpg)