-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (25 loc) · 872 Bytes
/
index.js
File metadata and controls
26 lines (25 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* @description JavaScript数据结构库出口,导出实现的所有数据结构
* @author 码路工人 CoderMonkey
* @date 2019/12
*/
const { Stack } = require('./lib/Stack')
const { Queue } = require('./lib/Queue/Queue')
const { PriorityQueue } = require('./lib/Queue/PriorityQueue')
const { LinkedList } = require('./lib/LinkedList/LinkedList')
const { DoublyLinkedList } = require('./lib/LinkedList/DoublyLinkedList')
const { CircleLinkedList } = require('./lib/LinkedList/CircleLinkedList')
const { HashTable } = require('./lib/HashTable/HashTable')
const { BinarySearchTree } = require('./lib/Tree/BinarySearchTree')
const { RedBlackTree } = require('./lib/Tree/RedBlackTree')
module.exports = {
Stack,
Queue,
PriorityQueue,
LinkedList,
DoublyLinkedList,
CircleLinkedList,
HashTable,
BinarySearchTree,
RedBlackTree,
}