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
@@ -822,6 +822,10 @@ var singlyLinkedListTyped = (() => {
822
822
 
823
823
 
824
824
 
825
+
826
+
827
+
828
+
825
829
 
826
830
 
827
831
 
@@ -889,6 +893,10 @@ var singlyLinkedListTyped = (() => {
889
893
 
890
894
 
891
895
 
896
+
897
+
898
+
899
+
892
900
 
893
901
 
894
902
 
@@ -962,6 +970,10 @@ var singlyLinkedListTyped = (() => {
962
970
 
963
971
 
964
972
 
973
+
974
+
975
+
976
+
965
977
 
966
978
 
967
979
 
@@ -1016,6 +1028,10 @@ var singlyLinkedListTyped = (() => {
1016
1028
 
1017
1029
 
1018
1030
 
1031
+
1032
+
1033
+
1034
+
1019
1035
 
1020
1036
 
1021
1037
 
@@ -1131,6 +1147,10 @@ var singlyLinkedListTyped = (() => {
1131
1147
 
1132
1148
 
1133
1149
 
1150
+
1151
+
1152
+
1153
+
1134
1154
 
1135
1155
 
1136
1156
 
@@ -1190,6 +1210,10 @@ var singlyLinkedListTyped = (() => {
1190
1210
 
1191
1211
 
1192
1212
 
1213
+
1214
+
1215
+
1216
+
1193
1217
 
1194
1218
 
1195
1219
 
@@ -1238,6 +1262,10 @@ var singlyLinkedListTyped = (() => {
1238
1262
 
1239
1263
 
1240
1264
 
1265
+
1266
+
1267
+
1268
+
1241
1269
 
1242
1270
 
1243
1271
 
@@ -1292,6 +1320,10 @@ var singlyLinkedListTyped = (() => {
1292
1320
 
1293
1321
 
1294
1322
 
1323
+
1324
+
1325
+
1326
+
1295
1327
 
1296
1328
 
1297
1329
 
@@ -1351,6 +1383,10 @@ var singlyLinkedListTyped = (() => {
1351
1383
 
1352
1384
 
1353
1385
 
1386
+
1387
+
1388
+
1389
+
1354
1390
 
1355
1391
 
1356
1392
 
@@ -1418,6 +1454,10 @@ var singlyLinkedListTyped = (() => {
1418
1454
 
1419
1455
 
1420
1456
 
1457
+
1458
+
1459
+
1460
+
1421
1461
 
1422
1462
 
1423
1463
 
@@ -1462,6 +1502,10 @@ var singlyLinkedListTyped = (() => {
1462
1502
 
1463
1503
 
1464
1504
 
1505
+
1506
+
1507
+
1508
+
1465
1509
 
1466
1510
 
1467
1511
 
@@ -1512,6 +1556,10 @@ var singlyLinkedListTyped = (() => {
1512
1556
 
1513
1557
 
1514
1558
 
1559
+
1560
+
1561
+
1562
+
1515
1563
 
1516
1564
 
1517
1565
 
@@ -1728,6 +1776,10 @@ var singlyLinkedListTyped = (() => {
1728
1776
 
1729
1777
 
1730
1778
 
1779
+
1780
+
1781
+
1782
+
1731
1783
 
1732
1784
 
1733
1785
 
@@ -1782,6 +1834,10 @@ var singlyLinkedListTyped = (() => {
1782
1834
 
1783
1835
 
1784
1836
 
1837
+
1838
+
1839
+
1840
+
1785
1841
 
1786
1842
 
1787
1843
 
@@ -1864,6 +1920,10 @@ var singlyLinkedListTyped = (() => {
1864
1920
 
1865
1921
 
1866
1922
 
1923
+
1924
+
1925
+
1926
+
1867
1927
 
1868
1928
 
1869
1929