-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
31 lines (28 loc) · 925 Bytes
/
index.js
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
27
28
29
30
31
'use strict';
const SRC_LIB = './src/lib';
exports.algorithms = {
array_sorting: require(SRC_LIB + '/algorithms/array-sorting'),
math: require(SRC_LIB + '/algorithms/math')
};
exports.data_structures = {
linked_list: {
singly_linked_list: require(SRC_LIB + '/data_structures/linked_list/singly_linked_list')
},
stack: {
stack: require(SRC_LIB + '/data_structures/stack/stack')
},
tree: {
binary_tree: require(SRC_LIB + '/data_structures/tree/binary_tree')
},
array: {
sorted_array: require(SRC_LIB + '/data_structures/array/sorted_array')
},
heap: {
binary_heap: require(SRC_LIB + '/data_structures/heap/binary_heap')
},
graph: {
directed_graph_adjacency_list: require(
SRC_LIB + '/data_structures/graph/directed_graph_adjacency_list')
},
built_in: require(SRC_LIB + '/data_structures/built_in')
};