|
13 | 13 | 6.[Priority Queue](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/priority-queue) |
14 | 14 | 7.[Trie](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/trie) |
15 | 15 | 8.[Tree](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree) |
16 | | -*[Binary Search Tree](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree/binary-search-tree) |
17 | | -*[AVL Tree](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree/avl-tree) |
18 | | -* Red-Black Tree |
19 | | -* Suffix Tree |
20 | | -* Segment Tree or Interval Tree |
21 | | -* Binary Indexed Tree or Fenwick Tree |
| 16 | +8.1.[Binary Search Tree](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree/binary-search-tree) |
| 17 | +8.2.[AVL Tree](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/tree/avl-tree) |
| 18 | +8.3. Red-Black Tree |
| 19 | +8.4. Suffix Tree |
| 20 | +8.5. Segment Tree or Interval Tree |
| 21 | +8.6. Binary Indexed Tree or Fenwick Tree |
22 | 22 | 9.[Graph](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/graph) (both directed and undirected) |
23 | 23 | 9.[Disjoint Set](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/disjoint-set) |
24 | 24 |
|
25 | 25 | ##Algorithms |
26 | 26 |
|
27 | 27 | ###Algorithms by Topic |
28 | 28 |
|
29 | | -***Math** |
| 29 | +1.**Math** |
30 | 30 | *[Factorial](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/factorial) |
31 | 31 | *[Fibonacci Number](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/fibonacci) |
32 | 32 | *[Primality Test](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/primality-test) (trial division method) |
|