Commit graph

411 commits

Author SHA1 Message Date
Revone 47fcfabae7 [binarytree] modified the getDepth method to adhere to the proper definition of "tree depth." 2023-10-18 18:28:36 +08:00
zrwusa 0c9f890fd0
Merge pull request #10 from zrwusa/trie
Trie
2023-10-18 17:32:21 +08:00
Revone fb52440469 [trie] variable renamed 2023-10-18 17:31:01 +08:00
Revone 9cf303edd4 Merge branch 'main' into trie 2023-10-18 17:11:30 +08:00
Revone 56e1f05b59 [tree] tests passed 2023-10-18 17:10:31 +08:00
zrwusa 6d560f4842
Merge pull request #9 from zrwusa/tree
[tree] getHeight returns faulty height bug fixed
2023-10-18 17:07:49 +08:00
Revone 07825744f4 [tree] getHeight returns faulty height bug fixed 2023-10-18 17:07:27 +08:00
Revone 1627b633bd [trie] getHeight returns faulty height bug fixed. Variables renamed for best practice 2023-10-18 17:05:38 +08:00
Revone dc2394ae4d [trie] console.log removed from test of trie 2023-10-18 16:35:49 +08:00
Revone 57c4511e69 [project] Integrate the CI commands into a single command and uniformly invoke this CI command across different platforms. 2023-10-18 16:05:55 +08:00
zrwusa ac7c39ce37
Merge pull request #8 from zrwusa/trie
[trie] support casesensitivity. getWords bug fixed
2023-10-18 14:58:15 +08:00
Revone 36153238b7 [trie] support casesensitivity. getWords bug fixed 2023-10-18 14:57:47 +08:00
Revone b10400e9c5 [pkg] v1.36.3 published 2023-10-17 23:52:24 +08:00
zrwusa 5e770e1444
Merge pull request #7 from zrwusa/optimization1.36.2
[binary-tree, graph] In order to optimize the design of Binary Trees,…
2023-10-17 21:11:36 +08:00
Revone 9764f2a5c6 [binary-tree, graph] In order to optimize the design of Binary Trees, unnecessary abstract classe removed, while enforcing method constraints between base classes and subclasses through interfaces. For Graph, it is necessary to use an abstract class as the base class, and interface constraints should be applied. Any data structures that are not within the scope of the plan deleted. 2023-10-17 21:06:41 +08:00
Revone 338fb60887 [pkg] v1.36.1 published 2023-10-17 19:31:16 +08:00
zrwusa 1740b3503f
Merge pull request #6 from zrwusa/enhance1.36.1
[BinaryTree, Heap] In abstract classes, only retain abstract methods.…
2023-10-16 20:37:34 +08:00
Revone 727cc87ca5 [BinaryTree, Heap] In abstract classes, only retain abstract methods. Replace the generic 'T' with 'E' in Heap and PriorityQueue 2023-10-16 20:34:22 +08:00
Revone b4448bb0d3 Merge branch 'main' of https://github.com/zrwusa/data-structure-typed 2023-10-16 00:25:13 +08:00
Revone 894fb55107 [heap] v1.36.0 Heap and PriorityQueue have been redesigned 2023-10-16 00:24:56 +08:00
zrwglobal e6d982d361
Merge pull request #5 from zrwusa/heap
[heap] test
2023-10-16 00:21:25 +08:00
zrwusa fc7177130c
Merge branch 'main' into heap 2023-10-16 00:17:37 +08:00
Revone 219e41f32e [heap] test 2023-10-16 00:14:57 +08:00
Revone c6177ffeb9 [heap, priority queue] Redesigned tested pass 2023-10-15 22:25:42 +08:00
Madness 5fcd9fe5e0
Merge pull request #4 from zrwusa/priorityq
[heap, priority queue] Heap improved. References #123: redesigned
2023-10-15 22:20:50 +08:00
zrwusa a1d5111aaa
Merge branch 'main' into priorityq 2023-10-15 22:19:56 +08:00
zrwglobal dfe47b573c
Merge pull request #3 from zrwusa/heap
test
2023-10-15 22:10:40 +08:00
Kirk Qi dd7b641273 [heap, priority queue] Heap improved. References #123: redesigned 2023-10-15 22:09:26 +08:00
Revone 14dae1c1cd test 2023-10-15 22:04:33 +08:00
Revone 6757c2cfc8 [vc] merged 2023-10-13 10:43:08 +08:00
Revone bc9b306382 [core] Also provide .d.ts files in the dist directory. 2023-10-13 10:39:58 +08:00
Revone f6c7f4930e [core] Also provide .d.ts files in the dist directory. 2023-10-13 10:39:05 +08:00
Revone 86e3bb2a94 [core] To standardize tsconfig.prod.json and tsconfig.json, .d.ts declaration files are also provided in the dist directory. To ensure compatibility with different versions of Node.js, you should modify the "exports" and "type" fields in package.json 2023-10-13 10:29:08 +08:00
Revone b78586a0ef [test] double the time 2023-10-12 09:02:59 +08:00
zrwusa 5998f103d0
Update CONTRIBUTING.md 2023-10-12 07:36:57 +08:00
Revone 641bf9785f [pkg] v1.35.1 2023-10-11 23:45:08 +08:00
Revone 943117e943 [ci] ci step added 2023-10-11 23:40:00 +08:00
Revone afd99bdf97 [test] test bug fixed 2023-10-11 23:36:10 +08:00
Revone 071cea8bd0 [project] CONTRIBUTING.md added 2023-10-11 23:14:35 +08:00
Revone f85073bebe [test] Double the duration of the performance test. 2023-10-11 22:30:53 +08:00
Revone 28df597297 [pkg] v1.35.0 2023-10-11 22:27:24 +08:00
Revone 4d01fa413e [core] Clean up unnecessary redundancies in the interfaces and rectify any illogical interface definitions. 2023-10-11 20:21:20 +08:00
Revone dd68ba8af2 Merge branch 'main' of https://github.com/zrwusa/data-structure-typed 2023-10-11 19:32:47 +08:00
Revone 799b7db7d3 [pkg] 1.34.9 published 2023-10-11 19:32:36 +08:00
Revone 836927ab82 [core] To compile a CommonJS module in the "dist" directory into ES6 code. Fixing some missing bugs in overloaded methods. 2023-10-11 18:44:59 +08:00
zrwusa 7eeb40ae08
Update issue templates 2023-10-11 18:08:09 +08:00
zrwusa 66668c538a
Update issue templates 2023-10-11 18:05:31 +08:00
Revone 8b9ef598e5 [binary-tree] To adhere to best practices, rename certain methods and replace optional parameters with default values. 2023-10-10 23:13:52 +08:00
Revone 31aa92e761 [binary-tree] Replace optional parameters with default values 2023-10-10 23:01:13 +08:00
Revone 8b8e781607 [core] Rename those legacy IDs that have not been updated to 'key' 2023-10-10 22:39:31 +08:00