data-structure-typed 2.5.3 → 2.6.1

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 (158) hide show
  1. package/.github/workflows/ci.yml +7 -2
  2. package/.github/workflows/release-package.yml +9 -2
  3. package/.husky/pre-commit +3 -0
  4. package/CHANGELOG.md +1 -1
  5. package/MIGRATION.md +48 -0
  6. package/README.md +20 -2
  7. package/README_CN.md +20 -2
  8. package/SPECIFICATION.md +24 -0
  9. package/SPECIFICATION.zh-CN.md +24 -0
  10. package/dist/cjs/binary-tree.cjs +1897 -19
  11. package/dist/cjs/graph.cjs +174 -0
  12. package/dist/cjs/hash.cjs +33 -0
  13. package/dist/cjs/heap.cjs +71 -0
  14. package/dist/cjs/index.cjs +2383 -3
  15. package/dist/cjs/linked-list.cjs +224 -2
  16. package/dist/cjs/matrix.cjs +24 -0
  17. package/dist/cjs/priority-queue.cjs +71 -0
  18. package/dist/cjs/queue.cjs +221 -1
  19. package/dist/cjs/stack.cjs +59 -0
  20. package/dist/cjs/trie.cjs +62 -0
  21. package/dist/cjs-legacy/binary-tree.cjs +1897 -19
  22. package/dist/cjs-legacy/graph.cjs +174 -0
  23. package/dist/cjs-legacy/hash.cjs +33 -0
  24. package/dist/cjs-legacy/heap.cjs +71 -0
  25. package/dist/cjs-legacy/index.cjs +2383 -3
  26. package/dist/cjs-legacy/linked-list.cjs +224 -2
  27. package/dist/cjs-legacy/matrix.cjs +24 -0
  28. package/dist/cjs-legacy/priority-queue.cjs +71 -0
  29. package/dist/cjs-legacy/queue.cjs +221 -1
  30. package/dist/cjs-legacy/stack.cjs +59 -0
  31. package/dist/cjs-legacy/trie.cjs +62 -0
  32. package/dist/esm/binary-tree.mjs +1897 -19
  33. package/dist/esm/graph.mjs +174 -0
  34. package/dist/esm/hash.mjs +33 -0
  35. package/dist/esm/heap.mjs +71 -0
  36. package/dist/esm/index.mjs +2383 -3
  37. package/dist/esm/linked-list.mjs +224 -2
  38. package/dist/esm/matrix.mjs +24 -0
  39. package/dist/esm/priority-queue.mjs +71 -0
  40. package/dist/esm/queue.mjs +221 -1
  41. package/dist/esm/stack.mjs +59 -0
  42. package/dist/esm/trie.mjs +62 -0
  43. package/dist/esm-legacy/binary-tree.mjs +1897 -19
  44. package/dist/esm-legacy/graph.mjs +174 -0
  45. package/dist/esm-legacy/hash.mjs +33 -0
  46. package/dist/esm-legacy/heap.mjs +71 -0
  47. package/dist/esm-legacy/index.mjs +2383 -3
  48. package/dist/esm-legacy/linked-list.mjs +224 -2
  49. package/dist/esm-legacy/matrix.mjs +24 -0
  50. package/dist/esm-legacy/priority-queue.mjs +71 -0
  51. package/dist/esm-legacy/queue.mjs +221 -1
  52. package/dist/esm-legacy/stack.mjs +59 -0
  53. package/dist/esm-legacy/trie.mjs +62 -0
  54. package/dist/types/data-structures/base/iterable-element-base.d.ts +17 -0
  55. package/dist/types/data-structures/base/linear-base.d.ts +6 -0
  56. package/dist/types/data-structures/binary-tree/avl-tree.d.ts +36 -0
  57. package/dist/types/data-structures/binary-tree/binary-indexed-tree.d.ts +42 -0
  58. package/dist/types/data-structures/binary-tree/binary-tree.d.ts +75 -0
  59. package/dist/types/data-structures/binary-tree/bst.d.ts +72 -0
  60. package/dist/types/data-structures/binary-tree/red-black-tree.d.ts +57 -0
  61. package/dist/types/data-structures/binary-tree/segment-tree.d.ts +18 -0
  62. package/dist/types/data-structures/binary-tree/tree-map.d.ts +375 -0
  63. package/dist/types/data-structures/binary-tree/tree-multi-map.d.ts +389 -0
  64. package/dist/types/data-structures/binary-tree/tree-multi-set.d.ts +330 -0
  65. package/dist/types/data-structures/binary-tree/tree-set.d.ts +438 -0
  66. package/dist/types/data-structures/graph/directed-graph.d.ts +30 -0
  67. package/dist/types/data-structures/graph/undirected-graph.d.ts +27 -0
  68. package/dist/types/data-structures/hash/hash-map.d.ts +33 -0
  69. package/dist/types/data-structures/heap/heap.d.ts +42 -0
  70. package/dist/types/data-structures/linked-list/doubly-linked-list.d.ts +75 -2
  71. package/dist/types/data-structures/linked-list/singly-linked-list.d.ts +45 -0
  72. package/dist/types/data-structures/linked-list/skip-linked-list.d.ts +54 -0
  73. package/dist/types/data-structures/matrix/matrix.d.ts +24 -0
  74. package/dist/types/data-structures/queue/deque.d.ts +90 -1
  75. package/dist/types/data-structures/queue/queue.d.ts +36 -0
  76. package/dist/types/data-structures/stack/stack.d.ts +30 -0
  77. package/dist/types/data-structures/trie/trie.d.ts +36 -0
  78. package/dist/umd/data-structure-typed.js +2383 -3
  79. package/dist/umd/data-structure-typed.min.js +3 -3
  80. package/docs-site-docusaurus/docs/api/classes/AVLTree.md +108 -108
  81. package/docs-site-docusaurus/docs/api/classes/BST.md +101 -101
  82. package/docs-site-docusaurus/docs/api/classes/BinaryIndexedTree.md +13 -13
  83. package/docs-site-docusaurus/docs/api/classes/BinaryTree.md +66 -66
  84. package/docs-site-docusaurus/docs/api/classes/Deque.md +235 -51
  85. package/docs-site-docusaurus/docs/api/classes/DirectedGraph.md +21 -21
  86. package/docs-site-docusaurus/docs/api/classes/DoublyLinkedList.md +231 -67
  87. package/docs-site-docusaurus/docs/api/classes/FibonacciHeap.md +9 -9
  88. package/docs-site-docusaurus/docs/api/classes/FibonacciHeapNode.md +1 -1
  89. package/docs-site-docusaurus/docs/api/classes/HashMap.md +14 -14
  90. package/docs-site-docusaurus/docs/api/classes/Heap.md +117 -34
  91. package/docs-site-docusaurus/docs/api/classes/IterableElementBase.md +83 -13
  92. package/docs-site-docusaurus/docs/api/classes/LinearBase.md +124 -20
  93. package/docs-site-docusaurus/docs/api/classes/LinearLinkedBase.md +140 -32
  94. package/docs-site-docusaurus/docs/api/classes/LinkedHashMap.md +30 -26
  95. package/docs-site-docusaurus/docs/api/classes/LinkedListQueue.md +159 -51
  96. package/docs-site-docusaurus/docs/api/classes/MapGraph.md +20 -20
  97. package/docs-site-docusaurus/docs/api/classes/Matrix.md +23 -23
  98. package/docs-site-docusaurus/docs/api/classes/MaxHeap.md +117 -34
  99. package/docs-site-docusaurus/docs/api/classes/MaxPriorityQueue.md +117 -34
  100. package/docs-site-docusaurus/docs/api/classes/MinHeap.md +117 -34
  101. package/docs-site-docusaurus/docs/api/classes/MinPriorityQueue.md +117 -34
  102. package/docs-site-docusaurus/docs/api/classes/PriorityQueue.md +117 -34
  103. package/docs-site-docusaurus/docs/api/classes/Queue.md +142 -34
  104. package/docs-site-docusaurus/docs/api/classes/RedBlackTree.md +117 -117
  105. package/docs-site-docusaurus/docs/api/classes/SegmentTree.md +8 -8
  106. package/docs-site-docusaurus/docs/api/classes/SinglyLinkedList.md +158 -50
  107. package/docs-site-docusaurus/docs/api/classes/SkipList.md +21 -21
  108. package/docs-site-docusaurus/docs/api/classes/Stack.md +108 -26
  109. package/docs-site-docusaurus/docs/api/classes/TreeMap.md +33 -33
  110. package/docs-site-docusaurus/docs/api/classes/TreeMultiMap.md +75 -39
  111. package/docs-site-docusaurus/docs/api/classes/TreeSet.md +301 -39
  112. package/docs-site-docusaurus/docs/api/classes/Trie.md +110 -28
  113. package/docs-site-docusaurus/docs/api/classes/UndirectedGraph.md +20 -20
  114. package/jest.integration.config.js +1 -2
  115. package/package.json +51 -50
  116. package/src/common/error.ts +15 -32
  117. package/src/common/index.ts +0 -3
  118. package/src/data-structures/base/iterable-element-base.ts +32 -3
  119. package/src/data-structures/base/linear-base.ts +13 -36
  120. package/src/data-structures/binary-tree/avl-tree.ts +31 -493
  121. package/src/data-structures/binary-tree/binary-indexed-tree.ts +47 -530
  122. package/src/data-structures/binary-tree/binary-tree.ts +326 -1236
  123. package/src/data-structures/binary-tree/bst.ts +158 -1010
  124. package/src/data-structures/binary-tree/red-black-tree.ts +451 -1233
  125. package/src/data-structures/binary-tree/segment-tree.ts +73 -333
  126. package/src/data-structures/binary-tree/tree-map.ts +462 -4749
  127. package/src/data-structures/binary-tree/tree-multi-map.ts +310 -4530
  128. package/src/data-structures/binary-tree/tree-multi-set.ts +300 -3652
  129. package/src/data-structures/binary-tree/tree-set.ts +437 -4443
  130. package/src/data-structures/graph/abstract-graph.ts +98 -167
  131. package/src/data-structures/graph/directed-graph.ts +137 -532
  132. package/src/data-structures/graph/map-graph.ts +0 -3
  133. package/src/data-structures/graph/undirected-graph.ts +132 -484
  134. package/src/data-structures/hash/hash-map.ts +154 -549
  135. package/src/data-structures/heap/heap.ts +200 -753
  136. package/src/data-structures/linked-list/doubly-linked-list.ts +153 -809
  137. package/src/data-structures/linked-list/singly-linked-list.ts +122 -749
  138. package/src/data-structures/linked-list/skip-linked-list.ts +211 -864
  139. package/src/data-structures/matrix/matrix.ts +179 -494
  140. package/src/data-structures/matrix/navigator.ts +0 -1
  141. package/src/data-structures/priority-queue/max-priority-queue.ts +1 -6
  142. package/src/data-structures/priority-queue/min-priority-queue.ts +6 -11
  143. package/src/data-structures/priority-queue/priority-queue.ts +1 -2
  144. package/src/data-structures/queue/deque.ts +241 -807
  145. package/src/data-structures/queue/queue.ts +102 -589
  146. package/src/data-structures/stack/stack.ts +76 -475
  147. package/src/data-structures/trie/trie.ts +98 -592
  148. package/src/types/common.ts +0 -10
  149. package/src/types/data-structures/binary-tree/bst.ts +0 -7
  150. package/src/types/data-structures/binary-tree/red-black-tree.ts +0 -1
  151. package/src/types/data-structures/graph/abstract-graph.ts +0 -2
  152. package/src/types/data-structures/hash/hash-map.ts +0 -3
  153. package/src/types/data-structures/hash/index.ts +0 -1
  154. package/src/types/data-structures/matrix/navigator.ts +0 -2
  155. package/src/types/utils/utils.ts +0 -7
  156. package/src/types/utils/validate-type.ts +0 -7
  157. package/src/utils/number.ts +0 -2
  158. package/src/utils/utils.ts +0 -5
@@ -192,6 +192,35 @@ var _IterableElementBase = class _IterableElementBase {
192
192
  for (const ele of this) if (ele === element) return true;
193
193
  return false;
194
194
  }
195
+ /**
196
+ * Check whether a value exists (Array-compatible alias for `has`).
197
+ * @remarks Provided for familiarity when migrating from Array. Time O(n), Space O(1).
198
+ * @param element - Element to search for (uses `===`).
199
+ * @returns `true` if found.
200
+ */
201
+ includes(element) {
202
+ return this.has(element);
203
+ }
204
+ /**
205
+ * Return an iterator of `[index, value]` pairs (Array-compatible).
206
+ * @remarks Provided for familiarity when migrating from Array. Time O(n), Space O(1) per step.
207
+ */
208
+ *entries() {
209
+ let index = 0;
210
+ for (const value of this) {
211
+ yield [index++, value];
212
+ }
213
+ }
214
+ /**
215
+ * Return an iterator of numeric indices (Array-compatible).
216
+ * @remarks Provided for familiarity when migrating from Array. Time O(n), Space O(1) per step.
217
+ */
218
+ *keys() {
219
+ let index = 0;
220
+ for (const _ of this) {
221
+ yield index++;
222
+ }
223
+ }
195
224
  /**
196
225
  * Reduces all elements to a single accumulated value.
197
226
  *
@@ -500,6 +529,16 @@ var _LinearBase = class _LinearBase extends IterableElementBase {
500
529
  }
501
530
  return this;
502
531
  }
532
+ /**
533
+ * Return a new instance of the same type with elements in reverse order (non-mutating).
534
+ * @remarks Provided for familiarity when migrating from Array (ES2023 `toReversed`). Time O(n), Space O(n).
535
+ * @returns A new reversed instance.
536
+ */
537
+ toReversed() {
538
+ const cloned = this.clone();
539
+ cloned.reverse();
540
+ return cloned;
541
+ }
503
542
  };
504
543
  __name(_LinearBase, "LinearBase");
505
544
  var LinearBase = _LinearBase;
@@ -798,6 +837,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
798
837
 
799
838
 
800
839
 
840
+
841
+
842
+
801
843
 
802
844
 
803
845
 
@@ -869,6 +911,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
869
911
 
870
912
 
871
913
 
914
+
915
+
916
+
872
917
 
873
918
 
874
919
 
@@ -946,6 +991,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
946
991
 
947
992
 
948
993
 
994
+
995
+
996
+
949
997
 
950
998
 
951
999
 
@@ -1004,6 +1052,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1004
1052
 
1005
1053
 
1006
1054
 
1055
+
1056
+
1057
+
1007
1058
 
1008
1059
 
1009
1060
 
@@ -1123,6 +1174,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1123
1174
 
1124
1175
 
1125
1176
 
1177
+
1178
+
1179
+
1126
1180
 
1127
1181
 
1128
1182
 
@@ -1186,6 +1240,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1186
1240
 
1187
1241
 
1188
1242
 
1243
+
1244
+
1245
+
1189
1246
 
1190
1247
 
1191
1248
 
@@ -1238,6 +1295,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1238
1295
 
1239
1296
 
1240
1297
 
1298
+
1299
+
1300
+
1241
1301
 
1242
1302
 
1243
1303
 
@@ -1296,6 +1356,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1296
1356
 
1297
1357
 
1298
1358
 
1359
+
1360
+
1361
+
1299
1362
 
1300
1363
 
1301
1364
 
@@ -1359,6 +1422,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1359
1422
 
1360
1423
 
1361
1424
 
1425
+
1426
+
1427
+
1362
1428
 
1363
1429
 
1364
1430
 
@@ -1430,6 +1496,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1430
1496
 
1431
1497
 
1432
1498
 
1499
+
1500
+
1501
+
1433
1502
 
1434
1503
 
1435
1504
 
@@ -1478,6 +1547,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1478
1547
 
1479
1548
 
1480
1549
 
1550
+
1551
+
1552
+
1481
1553
 
1482
1554
 
1483
1555
 
@@ -1532,6 +1604,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1532
1604
 
1533
1605
 
1534
1606
 
1607
+
1608
+
1609
+
1535
1610
 
1536
1611
 
1537
1612
 
@@ -1752,6 +1827,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1752
1827
 
1753
1828
 
1754
1829
 
1830
+
1831
+
1832
+
1755
1833
 
1756
1834
 
1757
1835
 
@@ -1810,6 +1888,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1810
1888
 
1811
1889
 
1812
1890
 
1891
+
1892
+
1893
+
1813
1894
 
1814
1895
 
1815
1896
 
@@ -1896,6 +1977,9 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1896
1977
 
1897
1978
 
1898
1979
 
1980
+
1981
+
1982
+
1899
1983
 
1900
1984
 
1901
1985
 
@@ -2220,6 +2304,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2220
2304
 
2221
2305
 
2222
2306
 
2307
+
2308
+
2309
+
2223
2310
 
2224
2311
 
2225
2312
 
@@ -2293,6 +2380,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2293
2380
 
2294
2381
 
2295
2382
 
2383
+
2384
+
2385
+
2296
2386
 
2297
2387
 
2298
2388
 
@@ -2365,6 +2455,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2365
2455
 
2366
2456
 
2367
2457
 
2458
+
2459
+
2460
+
2368
2461
 
2369
2462
 
2370
2463
 
@@ -2428,6 +2521,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2428
2521
 
2429
2522
 
2430
2523
 
2524
+
2525
+
2526
+
2431
2527
 
2432
2528
 
2433
2529
 
@@ -2520,6 +2616,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2520
2616
 
2521
2617
 
2522
2618
 
2619
+
2620
+
2621
+
2523
2622
 
2524
2623
 
2525
2624
 
@@ -2573,6 +2672,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2573
2672
 
2574
2673
 
2575
2674
 
2675
+
2676
+
2677
+
2576
2678
 
2577
2679
 
2578
2680
 
@@ -2657,6 +2759,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2657
2759
 
2658
2760
 
2659
2761
 
2762
+
2763
+
2764
+
2660
2765
 
2661
2766
 
2662
2767
 
@@ -2769,6 +2874,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2769
2874
 
2770
2875
 
2771
2876
 
2877
+
2878
+
2879
+
2772
2880
 
2773
2881
 
2774
2882
 
@@ -2828,6 +2936,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2828
2936
 
2829
2937
 
2830
2938
 
2939
+
2940
+
2941
+
2831
2942
 
2832
2943
 
2833
2944
 
@@ -2889,6 +3000,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2889
3000
 
2890
3001
 
2891
3002
 
3003
+
3004
+
3005
+
2892
3006
 
2893
3007
 
2894
3008
 
@@ -2937,6 +3051,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2937
3051
 
2938
3052
 
2939
3053
 
3054
+
3055
+
3056
+
2940
3057
 
2941
3058
 
2942
3059
 
@@ -2989,6 +3106,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
2989
3106
 
2990
3107
 
2991
3108
 
3109
+
3110
+
3111
+
2992
3112
 
2993
3113
 
2994
3114
 
@@ -3052,11 +3172,31 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3052
3172
  * @example
3053
3173
  * // Find value scanning from tail
3054
3174
  * const list = new DoublyLinkedList<number>([1, 2, 3, 4]);
3055
- * // getBackward scans from tail to head, returns first match
3056
- * const found = list.getBackward(node => node.value < 4);
3175
+ * // findLast scans from tail to head, returns first match
3176
+ * const found = list.findLast(node => node.value < 4);
3057
3177
  * console.log(found); // 3;
3058
3178
  */
3179
+ /**
3180
+ * @deprecated Use `findLast` instead. Will be removed in a future major version.
3181
+ */
3059
3182
  getBackward(elementNodeOrPredicate) {
3183
+ return this.findLast(elementNodeOrPredicate);
3184
+ }
3185
+ /**
3186
+ * Find the first value matching a predicate scanning backward (tail → head).
3187
+ * @remarks Time O(N), Space O(1)
3188
+ * @param elementNodeOrPredicate - Element, node, or predicate to match.
3189
+ * @returns Matching value or undefined.
3190
+
3191
+
3192
+ * @example
3193
+ * // Find value scanning from tail
3194
+ * const list = new DoublyLinkedList<number>([1, 2, 3, 4]);
3195
+ * // findLast scans from tail to head, returns first match
3196
+ * const found = list.findLast(node => node.value < 4);
3197
+ * console.log(found); // 3;
3198
+ */
3199
+ findLast(elementNodeOrPredicate) {
3060
3200
  const predicate = this._ensurePredicate(elementNodeOrPredicate);
3061
3201
  let current = this.tail;
3062
3202
  while (current) {
@@ -3065,6 +3205,22 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3065
3205
  }
3066
3206
  return void 0;
3067
3207
  }
3208
+ /**
3209
+ * Find the index of the last value matching a predicate (scans tail → head).
3210
+ * @remarks Provided for familiarity when migrating from Array. Time O(n), Space O(1).
3211
+ * @param predicate - Function called with (value, index, list).
3212
+ * @returns Matching index, or -1 if not found.
3213
+ */
3214
+ findLastIndex(predicate) {
3215
+ let current = this.tail;
3216
+ let index = this.length - 1;
3217
+ while (current) {
3218
+ if (predicate(current.value, index, this)) return index;
3219
+ current = current.prev;
3220
+ index--;
3221
+ }
3222
+ return -1;
3223
+ }
3068
3224
  /**
3069
3225
  * Reverse the list in place.
3070
3226
  * @remarks Time O(N), Space O(1)
@@ -3104,6 +3260,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3104
3260
 
3105
3261
 
3106
3262
 
3263
+
3264
+
3265
+
3107
3266
 
3108
3267
 
3109
3268
 
@@ -3190,6 +3349,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3190
3349
 
3191
3350
 
3192
3351
 
3352
+
3353
+
3354
+
3193
3355
 
3194
3356
 
3195
3357
 
@@ -3247,6 +3409,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3247
3409
 
3248
3410
 
3249
3411
 
3412
+
3413
+
3414
+
3250
3415
 
3251
3416
 
3252
3417
 
@@ -3323,6 +3488,9 @@ var _DoublyLinkedList = class _DoublyLinkedList extends LinearLinkedBase {
3323
3488
 
3324
3489
 
3325
3490
 
3491
+
3492
+
3493
+
3326
3494
 
3327
3495
 
3328
3496
 
@@ -3728,6 +3896,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
3728
3896
 
3729
3897
 
3730
3898
 
3899
+
3900
+
3901
+
3731
3902
 
3732
3903
 
3733
3904
 
@@ -3774,6 +3945,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
3774
3945
 
3775
3946
 
3776
3947
 
3948
+
3949
+
3950
+
3777
3951
 
3778
3952
 
3779
3953
 
@@ -3823,6 +3997,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
3823
3997
 
3824
3998
 
3825
3999
 
4000
+
4001
+
4002
+
3826
4003
 
3827
4004
 
3828
4005
 
@@ -3880,6 +4057,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
3880
4057
 
3881
4058
 
3882
4059
 
4060
+
4061
+
4062
+
3883
4063
 
3884
4064
 
3885
4065
 
@@ -3962,6 +4142,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
3962
4142
 
3963
4143
 
3964
4144
 
4145
+
4146
+
4147
+
3965
4148
 
3966
4149
 
3967
4150
 
@@ -4029,6 +4212,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4029
4212
 
4030
4213
 
4031
4214
 
4215
+
4216
+
4217
+
4032
4218
 
4033
4219
 
4034
4220
 
@@ -4079,6 +4265,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4079
4265
 
4080
4266
 
4081
4267
 
4268
+
4269
+
4270
+
4082
4271
 
4083
4272
 
4084
4273
 
@@ -4149,6 +4338,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4149
4338
 
4150
4339
 
4151
4340
 
4341
+
4342
+
4343
+
4152
4344
 
4153
4345
 
4154
4346
 
@@ -4199,6 +4391,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4199
4391
 
4200
4392
 
4201
4393
 
4394
+
4395
+
4396
+
4202
4397
 
4203
4398
 
4204
4399
 
@@ -4251,6 +4446,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4251
4446
 
4252
4447
 
4253
4448
 
4449
+
4450
+
4451
+
4254
4452
 
4255
4453
 
4256
4454
 
@@ -4301,6 +4499,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4301
4499
 
4302
4500
 
4303
4501
 
4502
+
4503
+
4504
+
4304
4505
 
4305
4506
 
4306
4507
 
@@ -4354,6 +4555,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4354
4555
 
4355
4556
 
4356
4557
 
4558
+
4559
+
4560
+
4357
4561
 
4358
4562
 
4359
4563
 
@@ -4412,6 +4616,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4412
4616
 
4413
4617
 
4414
4618
 
4619
+
4620
+
4621
+
4415
4622
 
4416
4623
 
4417
4624
 
@@ -4468,6 +4675,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4468
4675
 
4469
4676
 
4470
4677
 
4678
+
4679
+
4680
+
4471
4681
 
4472
4682
 
4473
4683
 
@@ -4523,6 +4733,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4523
4733
 
4524
4734
 
4525
4735
 
4736
+
4737
+
4738
+
4526
4739
 
4527
4740
 
4528
4741
 
@@ -4584,6 +4797,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4584
4797
 
4585
4798
 
4586
4799
 
4800
+
4801
+
4802
+
4587
4803
 
4588
4804
 
4589
4805
 
@@ -4653,6 +4869,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4653
4869
 
4654
4870
 
4655
4871
 
4872
+
4873
+
4874
+
4656
4875
 
4657
4876
 
4658
4877
 
@@ -4706,6 +4925,9 @@ var _SkipList = class _SkipList extends IterableEntryBase {
4706
4925
 
4707
4926
 
4708
4927
 
4928
+
4929
+
4930
+
4709
4931
 
4710
4932
 
4711
4933
 
@@ -157,6 +157,9 @@ var _Matrix = class _Matrix {
157
157
 
158
158
 
159
159
 
160
+
161
+
162
+
160
163
 
161
164
 
162
165
 
@@ -229,6 +232,9 @@ var _Matrix = class _Matrix {
229
232
 
230
233
 
231
234
 
235
+
236
+
237
+
232
238
 
233
239
 
234
240
 
@@ -297,6 +303,9 @@ var _Matrix = class _Matrix {
297
303
 
298
304
 
299
305
 
306
+
307
+
308
+
300
309
 
301
310
 
302
311
 
@@ -388,6 +397,9 @@ var _Matrix = class _Matrix {
388
397
 
389
398
 
390
399
 
400
+
401
+
402
+
391
403
 
392
404
 
393
405
 
@@ -462,6 +474,9 @@ var _Matrix = class _Matrix {
462
474
 
463
475
 
464
476
 
477
+
478
+
479
+
465
480
 
466
481
 
467
482
 
@@ -557,6 +572,9 @@ var _Matrix = class _Matrix {
557
572
 
558
573
 
559
574
 
575
+
576
+
577
+
560
578
 
561
579
 
562
580
 
@@ -639,6 +657,9 @@ var _Matrix = class _Matrix {
639
657
 
640
658
 
641
659
 
660
+
661
+
662
+
642
663
 
643
664
 
644
665
 
@@ -747,6 +768,9 @@ var _Matrix = class _Matrix {
747
768
 
748
769
 
749
770
 
771
+
772
+
773
+
750
774
 
751
775
 
752
776