singly-linked-list-typed 2.5.2 → 2.5.3

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 (58) hide show
  1. package/dist/cjs/index.cjs +60 -0
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs-legacy/index.cjs +60 -0
  4. package/dist/cjs-legacy/index.cjs.map +1 -1
  5. package/dist/esm/index.mjs +60 -0
  6. package/dist/esm/index.mjs.map +1 -1
  7. package/dist/esm-legacy/index.mjs +60 -0
  8. package/dist/esm-legacy/index.mjs.map +1 -1
  9. package/dist/types/data-structures/binary-tree/avl-tree.d.ts +50 -2
  10. package/dist/types/data-structures/binary-tree/binary-indexed-tree.d.ts +56 -0
  11. package/dist/types/data-structures/binary-tree/binary-tree.d.ts +116 -15
  12. package/dist/types/data-structures/binary-tree/bst.d.ts +99 -3
  13. package/dist/types/data-structures/binary-tree/red-black-tree.d.ts +79 -8
  14. package/dist/types/data-structures/binary-tree/segment-tree.d.ts +24 -0
  15. package/dist/types/data-structures/binary-tree/tree-map.d.ts +520 -1
  16. package/dist/types/data-structures/binary-tree/tree-multi-map.d.ts +489 -1
  17. package/dist/types/data-structures/binary-tree/tree-multi-set.d.ts +393 -1
  18. package/dist/types/data-structures/binary-tree/tree-set.d.ts +500 -1
  19. package/dist/types/data-structures/graph/directed-graph.d.ts +40 -0
  20. package/dist/types/data-structures/graph/undirected-graph.d.ts +36 -0
  21. package/dist/types/data-structures/hash/hash-map.d.ts +51 -6
  22. package/dist/types/data-structures/heap/heap.d.ts +98 -12
  23. package/dist/types/data-structures/linked-list/doubly-linked-list.d.ts +75 -0
  24. package/dist/types/data-structures/linked-list/singly-linked-list.d.ts +61 -1
  25. package/dist/types/data-structures/linked-list/skip-linked-list.d.ts +72 -0
  26. package/dist/types/data-structures/matrix/matrix.d.ts +32 -0
  27. package/dist/types/data-structures/queue/deque.d.ts +82 -0
  28. package/dist/types/data-structures/queue/queue.d.ts +61 -0
  29. package/dist/types/data-structures/stack/stack.d.ts +42 -2
  30. package/dist/types/data-structures/trie/trie.d.ts +48 -0
  31. package/dist/types/interfaces/binary-tree.d.ts +2 -3
  32. package/dist/umd/singly-linked-list-typed.js +60 -0
  33. package/dist/umd/singly-linked-list-typed.js.map +1 -1
  34. package/dist/umd/singly-linked-list-typed.min.js.map +1 -1
  35. package/package.json +2 -2
  36. package/src/data-structures/binary-tree/avl-tree.ts +52 -5
  37. package/src/data-structures/binary-tree/binary-indexed-tree.ts +56 -0
  38. package/src/data-structures/binary-tree/binary-tree.ts +167 -81
  39. package/src/data-structures/binary-tree/bst.ts +101 -7
  40. package/src/data-structures/binary-tree/red-black-tree.ts +82 -15
  41. package/src/data-structures/binary-tree/segment-tree.ts +24 -0
  42. package/src/data-structures/binary-tree/tree-map.ts +540 -3
  43. package/src/data-structures/binary-tree/tree-multi-map.ts +490 -2
  44. package/src/data-structures/binary-tree/tree-multi-set.ts +393 -1
  45. package/src/data-structures/binary-tree/tree-set.ts +520 -3
  46. package/src/data-structures/graph/directed-graph.ts +41 -1
  47. package/src/data-structures/graph/undirected-graph.ts +37 -1
  48. package/src/data-structures/hash/hash-map.ts +67 -12
  49. package/src/data-structures/heap/heap.ts +107 -19
  50. package/src/data-structures/linked-list/doubly-linked-list.ts +88 -0
  51. package/src/data-structures/linked-list/singly-linked-list.ts +61 -1
  52. package/src/data-structures/linked-list/skip-linked-list.ts +72 -0
  53. package/src/data-structures/matrix/matrix.ts +32 -0
  54. package/src/data-structures/queue/deque.ts +85 -0
  55. package/src/data-structures/queue/queue.ts +73 -0
  56. package/src/data-structures/stack/stack.ts +45 -5
  57. package/src/data-structures/trie/trie.ts +48 -0
  58. package/src/interfaces/binary-tree.ts +1 -9
@@ -807,6 +807,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
807
807
 
808
808
 
809
809
 
810
+
811
+
812
+
813
+
810
814
 
811
815
 
812
816
 
@@ -874,6 +878,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
874
878
 
875
879
 
876
880
 
881
+
882
+
883
+
884
+
877
885
 
878
886
 
879
887
 
@@ -947,6 +955,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
947
955
 
948
956
 
949
957
 
958
+
959
+
960
+
961
+
950
962
 
951
963
 
952
964
 
@@ -1001,6 +1013,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1001
1013
 
1002
1014
 
1003
1015
 
1016
+
1017
+
1018
+
1019
+
1004
1020
 
1005
1021
 
1006
1022
 
@@ -1116,6 +1132,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1116
1132
 
1117
1133
 
1118
1134
 
1135
+
1136
+
1137
+
1138
+
1119
1139
 
1120
1140
 
1121
1141
 
@@ -1175,6 +1195,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1175
1195
 
1176
1196
 
1177
1197
 
1198
+
1199
+
1200
+
1201
+
1178
1202
 
1179
1203
 
1180
1204
 
@@ -1223,6 +1247,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1223
1247
 
1224
1248
 
1225
1249
 
1250
+
1251
+
1252
+
1253
+
1226
1254
 
1227
1255
 
1228
1256
 
@@ -1277,6 +1305,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1277
1305
 
1278
1306
 
1279
1307
 
1308
+
1309
+
1310
+
1311
+
1280
1312
 
1281
1313
 
1282
1314
 
@@ -1336,6 +1368,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1336
1368
 
1337
1369
 
1338
1370
 
1371
+
1372
+
1373
+
1374
+
1339
1375
 
1340
1376
 
1341
1377
 
@@ -1403,6 +1439,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1403
1439
 
1404
1440
 
1405
1441
 
1442
+
1443
+
1444
+
1445
+
1406
1446
 
1407
1447
 
1408
1448
 
@@ -1447,6 +1487,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1447
1487
 
1448
1488
 
1449
1489
 
1490
+
1491
+
1492
+
1493
+
1450
1494
 
1451
1495
 
1452
1496
 
@@ -1497,6 +1541,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1497
1541
 
1498
1542
 
1499
1543
 
1544
+
1545
+
1546
+
1547
+
1500
1548
 
1501
1549
 
1502
1550
 
@@ -1713,6 +1761,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1713
1761
 
1714
1762
 
1715
1763
 
1764
+
1765
+
1766
+
1767
+
1716
1768
 
1717
1769
 
1718
1770
 
@@ -1767,6 +1819,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1767
1819
 
1768
1820
 
1769
1821
 
1822
+
1823
+
1824
+
1825
+
1770
1826
 
1771
1827
 
1772
1828
 
@@ -1849,6 +1905,10 @@ var _SinglyLinkedList = class _SinglyLinkedList extends LinearLinkedBase {
1849
1905
 
1850
1906
 
1851
1907
 
1908
+
1909
+
1910
+
1911
+
1852
1912
 
1853
1913
 
1854
1914