data-structure-typed 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/.idea/data-structure-typed.iml +12 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.idea/vcs.xml +6 -0
  4. package/README.md +2 -0
  5. package/dist/data-structures/binary-tree/aa-tree.js +6 -0
  6. package/dist/data-structures/binary-tree/avl-tree.js +231 -0
  7. package/dist/data-structures/binary-tree/b-tree.js +6 -0
  8. package/dist/data-structures/binary-tree/binary-indexed-tree.js +31 -0
  9. package/dist/data-structures/binary-tree/binary-tree.js +992 -0
  10. package/dist/data-structures/binary-tree/bst.js +431 -0
  11. package/dist/data-structures/binary-tree/index.js +20 -0
  12. package/dist/data-structures/binary-tree/rb-tree.js +6 -0
  13. package/dist/data-structures/binary-tree/segment-tree.js +151 -0
  14. package/dist/data-structures/binary-tree/splay-tree.js +6 -0
  15. package/dist/data-structures/binary-tree/tree-multiset.js +16 -0
  16. package/dist/data-structures/binary-tree/two-three-tree.js +6 -0
  17. package/dist/data-structures/graph/abstract-graph.js +648 -0
  18. package/dist/data-structures/graph/directed-graph.js +268 -0
  19. package/dist/data-structures/graph/index.js +19 -0
  20. package/dist/data-structures/graph/undirected-graph.js +142 -0
  21. package/dist/data-structures/hash/coordinate-map.js +24 -0
  22. package/dist/data-structures/hash/coordinate-set.js +21 -0
  23. package/dist/data-structures/hash/hash-table.js +2 -0
  24. package/dist/data-structures/hash/index.js +17 -0
  25. package/dist/data-structures/hash/pair.js +2 -0
  26. package/dist/data-structures/hash/tree-map.js +2 -0
  27. package/dist/data-structures/hash/tree-set.js +2 -0
  28. package/dist/data-structures/heap/heap.js +114 -0
  29. package/dist/data-structures/heap/index.js +19 -0
  30. package/dist/data-structures/heap/max-heap.js +22 -0
  31. package/dist/data-structures/heap/min-heap.js +22 -0
  32. package/dist/data-structures/index.js +25 -0
  33. package/dist/data-structures/linked-list/doubly-linked-list.js +259 -0
  34. package/dist/data-structures/linked-list/index.js +18 -0
  35. package/dist/data-structures/linked-list/singly-linked-list.js +660 -0
  36. package/dist/data-structures/linked-list/skip-linked-list.js +2 -0
  37. package/dist/data-structures/matrix/index.js +19 -0
  38. package/dist/data-structures/matrix/matrix.js +14 -0
  39. package/dist/data-structures/matrix/matrix2d.js +119 -0
  40. package/dist/data-structures/matrix/navigator.js +78 -0
  41. package/dist/data-structures/matrix/vector2d.js +161 -0
  42. package/dist/data-structures/priority-queue/index.js +19 -0
  43. package/dist/data-structures/priority-queue/max-priority-queue.js +15 -0
  44. package/dist/data-structures/priority-queue/min-priority-queue.js +15 -0
  45. package/dist/data-structures/priority-queue/priority-queue.js +174 -0
  46. package/dist/data-structures/queue/deque.js +132 -0
  47. package/dist/data-structures/queue/index.js +17 -0
  48. package/dist/data-structures/queue/queue.js +113 -0
  49. package/dist/data-structures/stack/index.js +17 -0
  50. package/dist/data-structures/stack/stack.js +97 -0
  51. package/dist/data-structures/trampoline.js +52 -0
  52. package/dist/data-structures/trie/index.js +17 -0
  53. package/dist/data-structures/trie/trie.js +141 -0
  54. package/dist/index.js +17 -0
  55. package/dist/types/data-structures/binary-tree/aa-tree.d.ts +2 -0
  56. package/dist/types/data-structures/binary-tree/avl-tree.d.ts +21 -0
  57. package/dist/types/data-structures/binary-tree/b-tree.d.ts +2 -0
  58. package/dist/types/data-structures/binary-tree/binary-indexed-tree.d.ts +8 -0
  59. package/dist/types/data-structures/binary-tree/binary-tree.d.ts +140 -0
  60. package/dist/types/data-structures/binary-tree/bst.d.ts +32 -0
  61. package/dist/types/data-structures/binary-tree/index.d.ts +4 -0
  62. package/dist/types/data-structures/binary-tree/rb-tree.d.ts +2 -0
  63. package/dist/types/data-structures/binary-tree/segment-tree.d.ts +33 -0
  64. package/dist/types/data-structures/binary-tree/splay-tree.d.ts +2 -0
  65. package/dist/types/data-structures/binary-tree/tree-multiset.d.ts +11 -0
  66. package/dist/types/data-structures/binary-tree/two-three-tree.d.ts +2 -0
  67. package/dist/types/data-structures/graph/abstract-graph.d.ts +126 -0
  68. package/dist/types/data-structures/graph/directed-graph.d.ts +51 -0
  69. package/dist/types/data-structures/graph/index.d.ts +3 -0
  70. package/dist/types/data-structures/graph/undirected-graph.d.ts +24 -0
  71. package/dist/types/data-structures/hash/coordinate-map.d.ts +8 -0
  72. package/dist/types/data-structures/hash/coordinate-set.d.ts +7 -0
  73. package/dist/types/data-structures/hash/hash-table.d.ts +1 -0
  74. package/dist/types/data-structures/hash/index.d.ts +1 -0
  75. package/dist/types/data-structures/hash/pair.d.ts +1 -0
  76. package/dist/types/data-structures/hash/tree-map.d.ts +1 -0
  77. package/dist/types/data-structures/hash/tree-set.d.ts +1 -0
  78. package/dist/types/data-structures/heap/heap.d.ts +72 -0
  79. package/dist/types/data-structures/heap/index.d.ts +3 -0
  80. package/dist/types/data-structures/heap/max-heap.d.ts +14 -0
  81. package/dist/types/data-structures/heap/min-heap.d.ts +14 -0
  82. package/dist/types/data-structures/index.d.ts +9 -0
  83. package/dist/types/data-structures/linked-list/doubly-linked-list.d.ts +59 -0
  84. package/dist/types/data-structures/linked-list/index.d.ts +2 -0
  85. package/dist/types/data-structures/linked-list/singly-linked-list.d.ts +358 -0
  86. package/dist/types/data-structures/linked-list/skip-linked-list.d.ts +1 -0
  87. package/dist/types/data-structures/matrix/index.d.ts +3 -0
  88. package/dist/types/data-structures/matrix/matrix.d.ts +9 -0
  89. package/dist/types/data-structures/matrix/matrix2d.d.ts +25 -0
  90. package/dist/types/data-structures/matrix/navigator.d.ts +31 -0
  91. package/dist/types/data-structures/matrix/vector2d.d.ts +74 -0
  92. package/dist/types/data-structures/priority-queue/index.d.ts +3 -0
  93. package/dist/types/data-structures/priority-queue/max-priority-queue.d.ts +4 -0
  94. package/dist/types/data-structures/priority-queue/min-priority-queue.d.ts +4 -0
  95. package/dist/types/data-structures/priority-queue/priority-queue.d.ts +36 -0
  96. package/dist/types/data-structures/queue/deque.d.ts +37 -0
  97. package/dist/types/data-structures/queue/index.d.ts +1 -0
  98. package/dist/types/data-structures/queue/queue.d.ts +76 -0
  99. package/dist/types/data-structures/stack/index.d.ts +1 -0
  100. package/dist/types/data-structures/stack/stack.d.ts +69 -0
  101. package/dist/types/data-structures/trampoline.d.ts +25 -0
  102. package/dist/types/data-structures/trie/index.d.ts +1 -0
  103. package/dist/types/data-structures/trie/trie.d.ts +28 -0
  104. package/dist/types/index.d.ts +1 -0
  105. package/dist/types/index.js +17 -0
  106. package/dist/types/types/index.d.ts +1 -0
  107. package/dist/types/types/utils.d.ts +46 -0
  108. package/dist/types/utils.d.ts +122 -0
  109. package/dist/types/utils.js +53 -0
  110. package/dist/utils.js +569 -0
  111. package/package.json +75 -0
  112. package/src/data-structures/binary-tree/aa-tree.ts +3 -0
  113. package/src/data-structures/binary-tree/avl-tree.ts +232 -0
  114. package/src/data-structures/binary-tree/b-tree.ts +3 -0
  115. package/src/data-structures/binary-tree/binary-indexed-tree.ts +33 -0
  116. package/src/data-structures/binary-tree/binary-tree.ts +1088 -0
  117. package/src/data-structures/binary-tree/bst.ts +404 -0
  118. package/src/data-structures/binary-tree/index.ts +4 -0
  119. package/src/data-structures/binary-tree/rb-tree.ts +3 -0
  120. package/src/data-structures/binary-tree/segment-tree.ts +164 -0
  121. package/src/data-structures/binary-tree/splay-tree.ts +3 -0
  122. package/src/data-structures/binary-tree/tree-multiset.ts +21 -0
  123. package/src/data-structures/binary-tree/two-three-tree.ts +3 -0
  124. package/src/data-structures/graph/abstract-graph.ts +789 -0
  125. package/src/data-structures/graph/directed-graph.ts +322 -0
  126. package/src/data-structures/graph/index.ts +3 -0
  127. package/src/data-structures/graph/undirected-graph.ts +154 -0
  128. package/src/data-structures/hash/coordinate-map.ts +24 -0
  129. package/src/data-structures/hash/coordinate-set.ts +20 -0
  130. package/src/data-structures/hash/hash-table.ts +1 -0
  131. package/src/data-structures/hash/index.ts +1 -0
  132. package/src/data-structures/hash/pair.ts +1 -0
  133. package/src/data-structures/hash/tree-map.ts +1 -0
  134. package/src/data-structures/hash/tree-set.ts +1 -0
  135. package/src/data-structures/heap/heap.ts +136 -0
  136. package/src/data-structures/heap/index.ts +3 -0
  137. package/src/data-structures/heap/max-heap.ts +22 -0
  138. package/src/data-structures/heap/min-heap.ts +24 -0
  139. package/src/data-structures/index.ts +10 -0
  140. package/src/data-structures/linked-list/doubly-linked-list.ts +258 -0
  141. package/src/data-structures/linked-list/index.ts +2 -0
  142. package/src/data-structures/linked-list/singly-linked-list.ts +750 -0
  143. package/src/data-structures/linked-list/skip-linked-list.ts +1 -0
  144. package/src/data-structures/matrix/index.ts +3 -0
  145. package/src/data-structures/matrix/matrix.ts +13 -0
  146. package/src/data-structures/matrix/matrix2d.ts +125 -0
  147. package/src/data-structures/matrix/navigator.ts +99 -0
  148. package/src/data-structures/matrix/vector2d.ts +189 -0
  149. package/src/data-structures/priority-queue/index.ts +3 -0
  150. package/src/data-structures/priority-queue/max-priority-queue.ts +12 -0
  151. package/src/data-structures/priority-queue/min-priority-queue.ts +12 -0
  152. package/src/data-structures/priority-queue/priority-queue.ts +208 -0
  153. package/src/data-structures/queue/deque.ts +139 -0
  154. package/src/data-structures/queue/index.ts +1 -0
  155. package/src/data-structures/queue/queue.ts +123 -0
  156. package/src/data-structures/stack/index.ts +1 -0
  157. package/src/data-structures/stack/stack.ts +104 -0
  158. package/src/data-structures/trampoline.ts +91 -0
  159. package/src/data-structures/trie/index.ts +1 -0
  160. package/src/data-structures/trie/trie.ts +153 -0
  161. package/src/index.ts +1 -0
  162. package/src/types/index.ts +1 -0
  163. package/src/types/patches/index.d.ts +0 -0
  164. package/src/types/utils.ts +158 -0
  165. package/src/utils.ts +605 -0
  166. package/tsconfig.json +52 -0
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./hash"), exports);
18
+ __exportStar(require("./linked-list"), exports);
19
+ __exportStar(require("./stack"), exports);
20
+ __exportStar(require("./queue"), exports);
21
+ __exportStar(require("./graph"), exports);
22
+ __exportStar(require("./binary-tree"), exports);
23
+ __exportStar(require("./heap"), exports);
24
+ __exportStar(require("./priority-queue"), exports);
25
+ __exportStar(require("./matrix"), exports);
@@ -0,0 +1,259 @@
1
+ "use strict";
2
+ // 操作 常见名称 Ada Java JavaScript C++ Python Perl PHP Ruby
3
+ // 尾部插入 inject, snoc Append offerLast push push_back append push array_push push
4
+ // 头部插入 push, cons Prepend offerFirst unshift push_front appendleft unshift array_unshift unshift
5
+ // 尾部删除 eject Delete_Last pollLast pop pop_back pop pop array_pop pop
6
+ // 头部删除 pop Delete_First pollFirst shift pop_front popleft shift array_shift shift
7
+ // 查看尾部 Last_Element peekLast [length - 1] back [-1] $array[-1] end last
8
+ // 查看头部 First_Element peekFirst [0] front [0] $array[0] reset first
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.DoublyLinkedList = exports.DoublyLinkedListNode = void 0;
11
+ class DoublyLinkedListNode {
12
+ constructor(nodeValue) {
13
+ this.val = nodeValue;
14
+ this.next = null;
15
+ this.prev = null;
16
+ }
17
+ }
18
+ exports.DoublyLinkedListNode = DoublyLinkedListNode;
19
+ class DoublyLinkedList {
20
+ constructor() {
21
+ this._first = null;
22
+ this._last = null;
23
+ this._size = 0;
24
+ // --- end extra methods ---
25
+ }
26
+ get size() {
27
+ return this._size;
28
+ }
29
+ set size(v) {
30
+ this._size = v;
31
+ }
32
+ /**
33
+ * Adds a node at the beginning of the linked list
34
+ * @param val Value to be stored at the beginning of the linked list
35
+ */
36
+ offerFirst(val) {
37
+ const newNode = new DoublyLinkedListNode(val);
38
+ if (this._size === 0) {
39
+ this._first = newNode;
40
+ this._last = newNode;
41
+ }
42
+ else {
43
+ if (this._first)
44
+ this._first.prev = newNode;
45
+ newNode.next = this._first;
46
+ this._first = newNode;
47
+ }
48
+ this._size++;
49
+ return true;
50
+ }
51
+ /**
52
+ * Adds a node to the end of the linked list
53
+ * @param val Value to be stored in the Doubly linked list node
54
+ */
55
+ offerLast(val) {
56
+ const newNode = new DoublyLinkedListNode(val);
57
+ if (this._size === 0) {
58
+ this._first = newNode;
59
+ this._last = newNode;
60
+ }
61
+ else {
62
+ if (this._last)
63
+ this._last.next = newNode;
64
+ newNode.prev = this._last;
65
+ this._last = newNode;
66
+ }
67
+ this._size++;
68
+ return true;
69
+ }
70
+ peekFirst(by) {
71
+ var _a, _b, _c, _d, _e;
72
+ switch (by) {
73
+ case 'node':
74
+ return (_a = this._first) !== null && _a !== void 0 ? _a : null;
75
+ case 'val':
76
+ return (_c = (_b = this._first) === null || _b === void 0 ? void 0 : _b.val) !== null && _c !== void 0 ? _c : null;
77
+ default:
78
+ return (_e = (_d = this._first) === null || _d === void 0 ? void 0 : _d.val) !== null && _e !== void 0 ? _e : null;
79
+ }
80
+ }
81
+ peekLast(by = 'val') {
82
+ var _a, _b, _c, _d, _e;
83
+ switch (by) {
84
+ case 'node':
85
+ return (_a = this._last) !== null && _a !== void 0 ? _a : null;
86
+ case 'val':
87
+ return (_c = (_b = this._last) === null || _b === void 0 ? void 0 : _b.val) !== null && _c !== void 0 ? _c : null;
88
+ default:
89
+ return (_e = (_d = this._last) === null || _d === void 0 ? void 0 : _d.val) !== null && _e !== void 0 ? _e : null;
90
+ }
91
+ }
92
+ /**
93
+ * Removes a node form the beginning of the linked list and will return the node val
94
+ */
95
+ pollFirst(by = 'val') {
96
+ var _a, _b, _c;
97
+ if (this._size === 0)
98
+ return null;
99
+ const oldHead = this._first;
100
+ if (this._size === 1) {
101
+ this._first = null;
102
+ this._last = null;
103
+ }
104
+ else {
105
+ this._first = (_a = oldHead === null || oldHead === void 0 ? void 0 : oldHead.next) !== null && _a !== void 0 ? _a : null;
106
+ if (this._first)
107
+ this._first.prev = null;
108
+ if (oldHead)
109
+ oldHead.next = null;
110
+ }
111
+ this._size--;
112
+ switch (by) {
113
+ case 'node':
114
+ return oldHead !== null && oldHead !== void 0 ? oldHead : null;
115
+ case 'val':
116
+ return (_b = oldHead === null || oldHead === void 0 ? void 0 : oldHead.val) !== null && _b !== void 0 ? _b : null;
117
+ default:
118
+ return (_c = oldHead === null || oldHead === void 0 ? void 0 : oldHead.val) !== null && _c !== void 0 ? _c : null;
119
+ }
120
+ }
121
+ /**
122
+ * Removes a node at the end of the linked list and will return the node value
123
+ */
124
+ pollLast(by = 'val') {
125
+ var _a, _b, _c;
126
+ if (this._size === 0)
127
+ return null;
128
+ const polled = this._last;
129
+ if (this._size === 1) {
130
+ this._first = null;
131
+ this._last = null;
132
+ }
133
+ else {
134
+ this._last = (_a = polled === null || polled === void 0 ? void 0 : polled.prev) !== null && _a !== void 0 ? _a : null;
135
+ if (this._last)
136
+ this._last.next = null;
137
+ if (polled)
138
+ polled.prev = null;
139
+ }
140
+ this._size--;
141
+ switch (by) {
142
+ case 'node':
143
+ return polled !== null && polled !== void 0 ? polled : null;
144
+ case 'val':
145
+ return (_b = polled === null || polled === void 0 ? void 0 : polled.val) !== null && _b !== void 0 ? _b : null;
146
+ default:
147
+ return (_c = polled === null || polled === void 0 ? void 0 : polled.val) !== null && _c !== void 0 ? _c : null;
148
+ }
149
+ }
150
+ /**
151
+ * Returns the node at the specified index of the linked list.
152
+ * If index = 0; first element in the list is returned.
153
+ * If index = 3; fourth element in the list is returned.
154
+ * @param index Index of the node to be retrieved
155
+ * @param by Return value type
156
+ */
157
+ get(index, by = 'val') {
158
+ var _a, _b;
159
+ if (index < 0 || index >= this._size)
160
+ return null;
161
+ let count, current;
162
+ if (index <= this._size / 2) {
163
+ count = 0;
164
+ current = this._first;
165
+ while (count !== index) {
166
+ current = current === null || current === void 0 ? void 0 : current.next;
167
+ count++;
168
+ }
169
+ }
170
+ else {
171
+ count = this._size - 1;
172
+ current = this._last;
173
+ while (count !== index) {
174
+ current = current === null || current === void 0 ? void 0 : current.prev;
175
+ count--;
176
+ }
177
+ }
178
+ switch (by) {
179
+ case 'node':
180
+ return current !== null && current !== void 0 ? current : null;
181
+ case 'val':
182
+ return (_a = current === null || current === void 0 ? void 0 : current.val) !== null && _a !== void 0 ? _a : null;
183
+ default:
184
+ return (_b = current === null || current === void 0 ? void 0 : current.val) !== null && _b !== void 0 ? _b : null;
185
+ }
186
+ }
187
+ /**
188
+ * Updates the value of the node at the specified index.
189
+ * If index = 0; Value of the first element in the list is updated.
190
+ * If index = 3; Value of the fourth element in the list is updated.
191
+ * @param index Index of the node to be updated
192
+ * @param val New value of the node
193
+ */
194
+ set(index, val) {
195
+ const foundNode = this.get(index, 'node');
196
+ if (foundNode !== null) {
197
+ foundNode.val = val;
198
+ return true;
199
+ }
200
+ return false;
201
+ }
202
+ isEmpty() {
203
+ return this._size === 0;
204
+ }
205
+ // --- start extra methods ---
206
+ /**
207
+ * Inserts a new node at the specified index.
208
+ * @param index Index at which the new node has to be inserted
209
+ * @param val Value of the new node to be inserted
210
+ */
211
+ insert(index, val) {
212
+ if (index < 0 || index > this._size)
213
+ return false;
214
+ if (index === 0)
215
+ return !!this.offerFirst(val);
216
+ if (index === this._size)
217
+ return !!this.offerLast(val);
218
+ const newNode = new DoublyLinkedListNode(val);
219
+ const prevNode = this.get(index - 1, 'node');
220
+ const nextNode = prevNode === null || prevNode === void 0 ? void 0 : prevNode.next;
221
+ if (prevNode)
222
+ prevNode.next = newNode;
223
+ newNode.prev = prevNode;
224
+ newNode.next = nextNode !== null && nextNode !== void 0 ? nextNode : null;
225
+ if (nextNode)
226
+ nextNode.prev = newNode;
227
+ this._size++;
228
+ return true;
229
+ }
230
+ /**
231
+ * Removes a node at the specified index and returns its value.
232
+ * @param index Index at which the node has to be removed.
233
+ */
234
+ remove(index) {
235
+ var _a, _b, _c;
236
+ if (index < 0 || index > this._size - 1)
237
+ return null;
238
+ else if (index === 0)
239
+ return this.pollFirst();
240
+ else if (index === this._size - 1)
241
+ return (_b = (_a = this.pollLast('node')) === null || _a === void 0 ? void 0 : _a.val) !== null && _b !== void 0 ? _b : null;
242
+ else {
243
+ const prevNode = this.get(index - 1, 'node');
244
+ const removeNode = prevNode === null || prevNode === void 0 ? void 0 : prevNode.next;
245
+ const nextNode = removeNode === null || removeNode === void 0 ? void 0 : removeNode.next;
246
+ if (prevNode)
247
+ prevNode.next = nextNode !== null && nextNode !== void 0 ? nextNode : null;
248
+ if (nextNode)
249
+ nextNode.prev = prevNode;
250
+ if (removeNode)
251
+ removeNode.next = null;
252
+ if (removeNode)
253
+ removeNode.prev = null;
254
+ this._size--;
255
+ return (_c = removeNode === null || removeNode === void 0 ? void 0 : removeNode.val) !== null && _c !== void 0 ? _c : null;
256
+ }
257
+ }
258
+ }
259
+ exports.DoublyLinkedList = DoublyLinkedList;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./singly-linked-list"), exports);
18
+ __exportStar(require("./doubly-linked-list"), exports);