data-structure-typed 1.19.0 → 1.19.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/README.md +22 -22
- package/package.json +3 -2
- package/tsconfig.json +0 -17
package/README.md
CHANGED
|
@@ -166,28 +166,6 @@ import {UndirectedGraph} from 'data-structure-typed';
|
|
|
166
166
|
const dijkstraResult = graph.dijkstra('A');
|
|
167
167
|
Array.from(dijkstraResult?.seen ?? []).map(vertex => vertex.id) // ['A', 'B', 'D']
|
|
168
168
|
```
|
|
169
|
-
|
|
170
|
-

|
|
171
|
-
|
|
172
|
-

|
|
173
|
-
|
|
174
|
-

|
|
175
|
-
|
|
176
|
-

|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
## API docs & Examples
|
|
180
|
-
|
|
181
|
-
[API Docs](https://data-structure-typed-docs.vercel.app)
|
|
182
|
-
|
|
183
|
-
[Live Examples](https://data-structure-typed-examples.vercel.app)
|
|
184
|
-
|
|
185
|
-
<a href="https://data-structure-typed-examples.vercel.app" target="_blank">Live Examples</a>
|
|
186
|
-
|
|
187
|
-
[//]: # ([Examples Repository](https://github.com/zrwusa/data-structure-typed-examples))
|
|
188
|
-
|
|
189
|
-
<a href="https://github.com/zrwusa/data-structure-typed-examples" target="_blank">Examples Repository</a>
|
|
190
|
-
|
|
191
169
|
## Data Structures
|
|
192
170
|
|
|
193
171
|
<table>
|
|
@@ -382,6 +360,28 @@ import {UndirectedGraph} from 'data-structure-typed';
|
|
|
382
360
|
</table>
|
|
383
361
|
|
|
384
362
|
|
|
363
|
+

|
|
364
|
+
|
|
365
|
+

|
|
366
|
+
|
|
367
|
+

|
|
368
|
+
|
|
369
|
+

|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
## API docs & Examples
|
|
373
|
+
|
|
374
|
+
[API Docs](https://data-structure-typed-docs.vercel.app)
|
|
375
|
+
|
|
376
|
+
[Live Examples](https://data-structure-typed-examples.vercel.app)
|
|
377
|
+
|
|
378
|
+
<a href="https://data-structure-typed-examples.vercel.app" target="_blank">Live Examples</a>
|
|
379
|
+
|
|
380
|
+
[//]: # ([Examples Repository](https://github.com/zrwusa/data-structure-typed-examples))
|
|
381
|
+
|
|
382
|
+
<a href="https://github.com/zrwusa/data-structure-typed-examples" target="_blank">Examples Repository</a>
|
|
383
|
+
|
|
384
|
+
|
|
385
385
|
# Why
|
|
386
386
|
|
|
387
387
|
## Complexities
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "data-structure-typed",
|
|
3
|
-
"version": "1.19.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.19.1",
|
|
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
6
|
"scripts": {
|
|
7
7
|
"build": "rm -rf dist && npx tsc",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"typescript": "^4.9.5"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
+
"bst-typed": "^1.19.0",
|
|
68
69
|
"zod": "^3.22.2"
|
|
69
70
|
}
|
|
70
71
|
}
|
package/tsconfig.json
CHANGED
|
@@ -37,20 +37,3 @@
|
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
//{
|
|
42
|
-
// "compilerOptions": {
|
|
43
|
-
// "declaration": true,
|
|
44
|
-
// "outDir": "./dist",
|
|
45
|
-
// "module": "commonjs",
|
|
46
|
-
// "target": "es5",
|
|
47
|
-
// "lib": ["es6", "dom"],
|
|
48
|
-
// "strict": true,
|
|
49
|
-
// "esModuleInterop": true,
|
|
50
|
-
// "moduleResolution": "node",
|
|
51
|
-
// "declarationDir": "./dist/types",
|
|
52
|
-
// "skipLibCheck": true
|
|
53
|
-
// },
|
|
54
|
-
// "include": ["src"],
|
|
55
|
-
// "exclude": ["node_modules", "dist"]
|
|
56
|
-
//}
|