data-structure-typed 1.20.0 → 1.21.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.
- package/LICENSE +21 -0
- package/README.md +9 -56
- package/dist/data-structures/binary-tree/abstract-binary-tree.d.ts +11 -18
- package/dist/data-structures/binary-tree/abstract-binary-tree.js +52 -74
- package/dist/data-structures/binary-tree/tree-multiset.d.ts +6 -6
- package/dist/data-structures/binary-tree/tree-multiset.js +20 -28
- package/dist/data-structures/graph/abstract-graph.d.ts +3 -3
- package/dist/data-structures/graph/abstract-graph.js +6 -2
- package/dist/data-structures/graph/index.d.ts +1 -0
- package/dist/data-structures/graph/index.js +1 -0
- package/dist/data-structures/graph/map-graph.d.ts +79 -0
- package/dist/data-structures/graph/map-graph.js +111 -0
- package/dist/data-structures/interfaces/abstract-binary-tree.d.ts +0 -2
- package/dist/data-structures/tree/tree.d.ts +1 -1
- package/dist/data-structures/types/abstract-binary-tree.d.ts +0 -1
- package/dist/data-structures/types/abstract-graph.d.ts +1 -0
- package/dist/data-structures/types/index.d.ts +1 -0
- package/dist/data-structures/types/index.js +1 -0
- package/dist/data-structures/types/map-graph.d.ts +1 -0
- package/dist/data-structures/types/map-graph.js +2 -0
- package/dist/data-structures/types/tree-multiset.d.ts +1 -3
- package/package.json +21 -20
- package/src/data-structures/binary-tree/aa-tree.ts +0 -3
- package/src/data-structures/binary-tree/abstract-binary-tree.ts +0 -1479
- package/src/data-structures/binary-tree/avl-tree.ts +0 -301
- package/src/data-structures/binary-tree/b-tree.ts +0 -3
- package/src/data-structures/binary-tree/binary-indexed-tree.ts +0 -78
- package/src/data-structures/binary-tree/binary-tree.ts +0 -42
- package/src/data-structures/binary-tree/bst.ts +0 -438
- package/src/data-structures/binary-tree/index.ts +0 -12
- package/src/data-structures/binary-tree/rb-tree.ts +0 -102
- package/src/data-structures/binary-tree/segment-tree.ts +0 -243
- package/src/data-structures/binary-tree/splay-tree.ts +0 -3
- package/src/data-structures/binary-tree/tree-multiset.ts +0 -712
- package/src/data-structures/binary-tree/two-three-tree.ts +0 -3
- package/src/data-structures/diagrams/README.md +0 -5
- package/src/data-structures/graph/abstract-graph.ts +0 -1033
- package/src/data-structures/graph/directed-graph.ts +0 -472
- package/src/data-structures/graph/index.ts +0 -3
- package/src/data-structures/graph/undirected-graph.ts +0 -270
- package/src/data-structures/hash/coordinate-map.ts +0 -67
- package/src/data-structures/hash/coordinate-set.ts +0 -56
- package/src/data-structures/hash/hash-table.ts +0 -3
- package/src/data-structures/hash/index.ts +0 -6
- package/src/data-structures/hash/pair.ts +0 -3
- package/src/data-structures/hash/tree-map.ts +0 -3
- package/src/data-structures/hash/tree-set.ts +0 -3
- package/src/data-structures/heap/heap.ts +0 -200
- package/src/data-structures/heap/index.ts +0 -3
- package/src/data-structures/heap/max-heap.ts +0 -31
- package/src/data-structures/heap/min-heap.ts +0 -34
- package/src/data-structures/index.ts +0 -15
- package/src/data-structures/interfaces/abstract-binary-tree.ts +0 -194
- package/src/data-structures/interfaces/abstract-graph.ts +0 -40
- package/src/data-structures/interfaces/avl-tree.ts +0 -28
- package/src/data-structures/interfaces/binary-tree.ts +0 -8
- package/src/data-structures/interfaces/bst.ts +0 -32
- package/src/data-structures/interfaces/directed-graph.ts +0 -20
- package/src/data-structures/interfaces/doubly-linked-list.ts +0 -1
- package/src/data-structures/interfaces/heap.ts +0 -1
- package/src/data-structures/interfaces/index.ts +0 -15
- package/src/data-structures/interfaces/navigator.ts +0 -1
- package/src/data-structures/interfaces/priority-queue.ts +0 -1
- package/src/data-structures/interfaces/rb-tree.ts +0 -11
- package/src/data-structures/interfaces/segment-tree.ts +0 -1
- package/src/data-structures/interfaces/singly-linked-list.ts +0 -1
- package/src/data-structures/interfaces/tree-multiset.ts +0 -12
- package/src/data-structures/interfaces/undirected-graph.ts +0 -6
- package/src/data-structures/linked-list/doubly-linked-list.ts +0 -573
- package/src/data-structures/linked-list/index.ts +0 -3
- package/src/data-structures/linked-list/singly-linked-list.ts +0 -490
- package/src/data-structures/linked-list/skip-linked-list.ts +0 -3
- package/src/data-structures/matrix/index.ts +0 -4
- package/src/data-structures/matrix/matrix.ts +0 -27
- package/src/data-structures/matrix/matrix2d.ts +0 -208
- package/src/data-structures/matrix/navigator.ts +0 -122
- package/src/data-structures/matrix/vector2d.ts +0 -316
- package/src/data-structures/priority-queue/index.ts +0 -3
- package/src/data-structures/priority-queue/max-priority-queue.ts +0 -49
- package/src/data-structures/priority-queue/min-priority-queue.ts +0 -50
- package/src/data-structures/priority-queue/priority-queue.ts +0 -354
- package/src/data-structures/queue/deque.ts +0 -251
- package/src/data-structures/queue/index.ts +0 -2
- package/src/data-structures/queue/queue.ts +0 -120
- package/src/data-structures/stack/index.ts +0 -1
- package/src/data-structures/stack/stack.ts +0 -98
- package/src/data-structures/tree/index.ts +0 -1
- package/src/data-structures/tree/tree.ts +0 -69
- package/src/data-structures/trie/index.ts +0 -1
- package/src/data-structures/trie/trie.ts +0 -227
- package/src/data-structures/types/abstract-binary-tree.ts +0 -41
- package/src/data-structures/types/abstract-graph.ts +0 -5
- package/src/data-structures/types/avl-tree.ts +0 -5
- package/src/data-structures/types/binary-tree.ts +0 -9
- package/src/data-structures/types/bst.ts +0 -12
- package/src/data-structures/types/directed-graph.ts +0 -8
- package/src/data-structures/types/doubly-linked-list.ts +0 -1
- package/src/data-structures/types/heap.ts +0 -5
- package/src/data-structures/types/helpers.ts +0 -1
- package/src/data-structures/types/index.ts +0 -15
- package/src/data-structures/types/navigator.ts +0 -13
- package/src/data-structures/types/priority-queue.ts +0 -9
- package/src/data-structures/types/rb-tree.ts +0 -8
- package/src/data-structures/types/segment-tree.ts +0 -1
- package/src/data-structures/types/singly-linked-list.ts +0 -1
- package/src/data-structures/types/tree-multiset.ts +0 -8
- package/src/index.ts +0 -2
- package/src/utils/index.ts +0 -3
- package/src/utils/types/index.ts +0 -2
- package/src/utils/types/utils.ts +0 -6
- package/src/utils/types/validate-type.ts +0 -25
- package/src/utils/utils.ts +0 -78
- package/src/utils/validate-type.ts +0 -69
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapGraph = exports.MapEdge = exports.MapVertex = void 0;
|
|
4
|
+
const directed_graph_1 = require("./directed-graph");
|
|
5
|
+
class MapVertex extends directed_graph_1.DirectedVertex {
|
|
6
|
+
/**
|
|
7
|
+
* The constructor function initializes an object with an id, latitude, longitude, and an optional value.
|
|
8
|
+
* @param {VertexId} id - The `id` parameter is of type `VertexId` and represents the identifier of the vertex.
|
|
9
|
+
* @param {number} lat - The "lat" parameter represents the latitude of a vertex. Latitude is a geographic coordinate
|
|
10
|
+
* that specifies the north-south position of a point on the Earth's surface. It is measured in degrees, with positive
|
|
11
|
+
* values representing points north of the equator and negative values representing points south of the equator.
|
|
12
|
+
* @param {number} long - The "long" parameter represents the longitude of a location. Longitude is a geographic
|
|
13
|
+
* coordinate that specifies the east-west position of a point on the Earth's surface. It is measured in degrees, with
|
|
14
|
+
* values ranging from -180 to 180.
|
|
15
|
+
* @param {T} [val] - The "val" parameter is an optional value of type T. It is not required to be provided when
|
|
16
|
+
* creating an instance of the class.
|
|
17
|
+
*/
|
|
18
|
+
constructor(id, lat, long, val) {
|
|
19
|
+
super(id, val);
|
|
20
|
+
this._lat = lat;
|
|
21
|
+
this._long = long;
|
|
22
|
+
}
|
|
23
|
+
get lat() {
|
|
24
|
+
return this._lat;
|
|
25
|
+
}
|
|
26
|
+
set lat(value) {
|
|
27
|
+
this._lat = value;
|
|
28
|
+
}
|
|
29
|
+
get long() {
|
|
30
|
+
return this._long;
|
|
31
|
+
}
|
|
32
|
+
set long(value) {
|
|
33
|
+
this._long = value;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.MapVertex = MapVertex;
|
|
37
|
+
class MapEdge extends directed_graph_1.DirectedEdge {
|
|
38
|
+
/**
|
|
39
|
+
* The constructor function initializes a new instance of a class with the given source, destination, weight, and
|
|
40
|
+
* value.
|
|
41
|
+
* @param {VertexId} src - The `src` parameter is the source vertex ID. It represents the starting point of an edge in
|
|
42
|
+
* a graph.
|
|
43
|
+
* @param {VertexId} dest - The `dest` parameter is the identifier of the destination vertex for an edge.
|
|
44
|
+
* @param {number} [weight] - The weight parameter is an optional number that represents the weight of the edge.
|
|
45
|
+
* @param {T} [val] - The "val" parameter is an optional parameter of type T. It is used to store additional
|
|
46
|
+
* information or data associated with the edge.
|
|
47
|
+
*/
|
|
48
|
+
constructor(src, dest, weight, val) {
|
|
49
|
+
super(src, dest, weight, val);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.MapEdge = MapEdge;
|
|
53
|
+
class MapGraph extends directed_graph_1.DirectedGraph {
|
|
54
|
+
/**
|
|
55
|
+
* The constructor function initializes the origin and bottomRight properties of a MapGraphCoordinate object.
|
|
56
|
+
* @param {MapGraphCoordinate} origin - The `origin` parameter is a `MapGraphCoordinate` object that represents the
|
|
57
|
+
* starting point or reference point of the map graph. It defines the coordinates of the top-left corner of the map
|
|
58
|
+
* graph.
|
|
59
|
+
* @param {MapGraphCoordinate} [bottomRight] - The `bottomRight` parameter is an optional parameter of type
|
|
60
|
+
* `MapGraphCoordinate`. It represents the bottom right coordinate of a map graph. If this parameter is not provided,
|
|
61
|
+
* it will default to `undefined`.
|
|
62
|
+
*/
|
|
63
|
+
constructor(origin, bottomRight) {
|
|
64
|
+
super();
|
|
65
|
+
this._origin = [0, 0];
|
|
66
|
+
this._origin = origin;
|
|
67
|
+
this._bottomRight = bottomRight;
|
|
68
|
+
}
|
|
69
|
+
get origin() {
|
|
70
|
+
return this._origin;
|
|
71
|
+
}
|
|
72
|
+
set origin(value) {
|
|
73
|
+
this._origin = value;
|
|
74
|
+
}
|
|
75
|
+
get bottomRight() {
|
|
76
|
+
return this._bottomRight;
|
|
77
|
+
}
|
|
78
|
+
set bottomRight(value) {
|
|
79
|
+
this._bottomRight = value;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The function creates a new vertex with the given id, value, latitude, and longitude.
|
|
83
|
+
* @param {VertexId} id - The id parameter is the unique identifier for the vertex. It is of type VertexId, which could
|
|
84
|
+
* be a string or a number depending on how you define it in your code.
|
|
85
|
+
* @param [val] - The `val` parameter is an optional value that can be assigned to the `val` property of the vertex. It
|
|
86
|
+
* is of type `V['val']`, which means it should be of the same type as the `val` property of the vertex class `V`.
|
|
87
|
+
* @param {number} lat - The `lat` parameter represents the latitude of the vertex. It is a number that specifies the
|
|
88
|
+
* position of the vertex on the Earth's surface in the north-south direction.
|
|
89
|
+
* @param {number} long - The `long` parameter represents the longitude coordinate of the vertex.
|
|
90
|
+
* @returns The method is returning a new instance of the `MapVertex` class, casted as type `V`.
|
|
91
|
+
*/
|
|
92
|
+
createVertex(id, val, lat = this.origin[0], long = this.origin[1]) {
|
|
93
|
+
return new MapVertex(id, lat, long, val);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The function creates a new instance of a MapEdge with the given source, destination, weight, and value.
|
|
97
|
+
* @param {VertexId} src - The source vertex ID of the edge. It represents the starting point of the edge.
|
|
98
|
+
* @param {VertexId} dest - The `dest` parameter is the identifier of the destination vertex for the edge being
|
|
99
|
+
* created.
|
|
100
|
+
* @param {number} [weight] - The `weight` parameter is an optional number that represents the weight of the edge. It
|
|
101
|
+
* is used to assign a numerical value to the edge, which can be used in algorithms such as shortest path algorithms.
|
|
102
|
+
* If the weight is not provided, it can be set to a default value or left undefined.
|
|
103
|
+
* @param [val] - The `val` parameter is an optional value that can be assigned to the edge. It can be of any type,
|
|
104
|
+
* depending on the specific implementation of the `MapEdge` class.
|
|
105
|
+
* @returns a new instance of the `MapEdge` class, casted as type `E`.
|
|
106
|
+
*/
|
|
107
|
+
createEdge(src, dest, weight, val) {
|
|
108
|
+
return new MapEdge(src, dest, weight, val);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.MapGraph = MapGraph;
|
|
@@ -22,14 +22,12 @@ export interface IAbstractBinaryTree<N extends AbstractBinaryTreeNode<N['val'],
|
|
|
22
22
|
get visitedVal(): Array<N['val']>;
|
|
23
23
|
get visitedNode(): N[];
|
|
24
24
|
get visitedLeftSum(): number[];
|
|
25
|
-
get isMergeDuplicatedNodeById(): boolean;
|
|
26
25
|
get root(): N | null;
|
|
27
26
|
get size(): number;
|
|
28
27
|
swapLocation(srcNode: N, destNode: N): N;
|
|
29
28
|
clear(): void;
|
|
30
29
|
isEmpty(): boolean;
|
|
31
30
|
add(id: BinaryTreeNodeId | N, val?: N['val']): N | null | undefined;
|
|
32
|
-
addTo(newNode: N | null, parent: N): N | null | undefined;
|
|
33
31
|
addMany(idsOrNodes: (BinaryTreeNodeId | N | null)[], data?: N['val'][]): (N | null | undefined)[];
|
|
34
32
|
fill(idsOrNodes: (BinaryTreeNodeId | N | null)[], data?: N[] | Array<N['val']>): boolean;
|
|
35
33
|
remove(id: BinaryTreeNodeId, ignoreCount?: boolean): BinaryTreeDeletedResult<N>[];
|
|
@@ -31,5 +31,4 @@ export type AbstractBinaryTreeNodeProperties<N extends AbstractBinaryTreeNode<N[
|
|
|
31
31
|
export type AbstractBinaryTreeNodeNested<T> = AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, AbstractBinaryTreeNode<T, any>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;
|
|
32
32
|
export type AbstractBinaryTreeOptions = {
|
|
33
33
|
loopType?: LoopType;
|
|
34
|
-
isMergeDuplicatedNodeById?: boolean;
|
|
35
34
|
};
|
|
@@ -4,6 +4,7 @@ export * from './avl-tree';
|
|
|
4
4
|
export * from './segment-tree';
|
|
5
5
|
export * from './tree-multiset';
|
|
6
6
|
export * from './abstract-graph';
|
|
7
|
+
export * from './map-graph';
|
|
7
8
|
export * from './abstract-binary-tree';
|
|
8
9
|
export * from './rb-tree';
|
|
9
10
|
export * from './directed-graph';
|
|
@@ -20,6 +20,7 @@ __exportStar(require("./avl-tree"), exports);
|
|
|
20
20
|
__exportStar(require("./segment-tree"), exports);
|
|
21
21
|
__exportStar(require("./tree-multiset"), exports);
|
|
22
22
|
__exportStar(require("./abstract-graph"), exports);
|
|
23
|
+
__exportStar(require("./map-graph"), exports);
|
|
23
24
|
__exportStar(require("./abstract-binary-tree"), exports);
|
|
24
25
|
__exportStar(require("./rb-tree"), exports);
|
|
25
26
|
__exportStar(require("./directed-graph"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MapGraphCoordinate = [number, number];
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TreeMultisetNode } from '../binary-tree';
|
|
2
2
|
import { AVLTreeOptions } from './avl-tree';
|
|
3
3
|
export type TreeMultisetNodeNested<T> = TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, TreeMultisetNode<T, any>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>;
|
|
4
|
-
export type TreeMultisetOptions = Omit<AVLTreeOptions, 'isMergeDuplicatedNodeById'> & {
|
|
5
|
-
isMergeDuplicatedNodeById: true;
|
|
6
|
-
};
|
|
4
|
+
export type TreeMultisetOptions = Omit<AVLTreeOptions, 'isMergeDuplicatedNodeById'> & {};
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "data-structure-typed",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"description": "Javascript & TypeScript Data Structure Library, meticulously crafted to empower developers with a versatile set of essential data structures. Our library includes a wide range of data structures, such as Binary Tree, AVL Tree, Binary Search Tree (BST), Tree Multiset, Segment Tree, Binary Indexed Tree, Graph, Directed Graph, Undirected Graph, Singly Linked List, Hash, CoordinateSet, CoordinateMap, Heap, Doubly Linked List, Priority Queue, Max Priority Queue, Min Priority Queue, Queue, ObjectDeque, ArrayDeque, Stack, and Trie. Each data structure is thoughtfully designed and implemented using TypeScript to provide efficient, reliable, and easy-to-use solutions for your programming needs. Whether you're optimizing algorithms, managing data, or enhancing performance, our TypeScript Data Structure Library is your go-to resource. Elevate your coding experience with these fundamental building blocks for software development.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/my-library.js",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"build": "rm -rf dist && npx tsc",
|
|
8
9
|
"test": "jest",
|
|
@@ -59,30 +60,30 @@
|
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@types/jest": "^29.5.3",
|
|
61
62
|
"@types/node": "^20.4.9",
|
|
62
|
-
"avl-tree-typed": "^1.
|
|
63
|
-
"binary-tree-typed": "^1.
|
|
64
|
-
"bst-typed": "^1.
|
|
63
|
+
"avl-tree-typed": "^1.21.0",
|
|
64
|
+
"binary-tree-typed": "^1.21.0",
|
|
65
|
+
"bst-typed": "^1.21.0",
|
|
65
66
|
"dependency-cruiser": "^13.1.2",
|
|
66
|
-
"deque-typed": "^1.
|
|
67
|
-
"directed-graph-typed": "^1.
|
|
68
|
-
"doubly-linked-list-typed": "^1.
|
|
69
|
-
"graph-typed": "^1.
|
|
70
|
-
"heap-typed": "^1.
|
|
67
|
+
"deque-typed": "^1.21.0",
|
|
68
|
+
"directed-graph-typed": "^1.21.0",
|
|
69
|
+
"doubly-linked-list-typed": "^1.21.0",
|
|
70
|
+
"graph-typed": "^1.21.0",
|
|
71
|
+
"heap-typed": "^1.21.0",
|
|
71
72
|
"jest": "^29.6.2",
|
|
72
|
-
"linked-list-typed": "^1.
|
|
73
|
-
"max-heap-typed": "^1.
|
|
74
|
-
"max-priority-queue-typed": "^1.
|
|
75
|
-
"min-heap-typed": "^1.
|
|
76
|
-
"min-priority-queue-typed": "^1.
|
|
77
|
-
"priority-queue-typed": "^1.
|
|
78
|
-
"singly-linked-list-typed": "^1.
|
|
79
|
-
"stack-typed": "^1.
|
|
80
|
-
"tree-multiset-typed": "^1.
|
|
81
|
-
"trie-typed": "^1.
|
|
73
|
+
"linked-list-typed": "^1.21.0",
|
|
74
|
+
"max-heap-typed": "^1.21.0",
|
|
75
|
+
"max-priority-queue-typed": "^1.21.0",
|
|
76
|
+
"min-heap-typed": "^1.21.0",
|
|
77
|
+
"min-priority-queue-typed": "^1.21.0",
|
|
78
|
+
"priority-queue-typed": "^1.21.0",
|
|
79
|
+
"singly-linked-list-typed": "^1.21.0",
|
|
80
|
+
"stack-typed": "^1.21.0",
|
|
81
|
+
"tree-multiset-typed": "^1.21.0",
|
|
82
|
+
"trie-typed": "^1.21.0",
|
|
82
83
|
"ts-jest": "^29.1.1",
|
|
83
84
|
"typedoc": "^0.24.8",
|
|
84
85
|
"typescript": "^4.9.5",
|
|
85
|
-
"undirected-graph-typed": "^1.
|
|
86
|
+
"undirected-graph-typed": "^1.21.0"
|
|
86
87
|
},
|
|
87
88
|
"dependencies": {
|
|
88
89
|
"zod": "^3.22.2"
|