Commit graph

20 commits

Author SHA1 Message Date
Revone
af23af911a [binary-tree] renamed _loopType to _iterationType 2023-10-27 17:17:27 +08:00
Revone
8df45c5c52 [binary-tree] Dynamically infer traversal method return values based on callback function results. 2023-10-25 21:09:11 +08:00
Revone
e45854d3f4 [project] Optimize the build configuration to be compatible with both earlier and later versions of Node.js. Switch to using tsup for UMD module output. Format code using an IDE. 2023-10-25 15:51:50 +08:00
Revone
a6329163f7 1. No need for dfsIterative; integrate it directly into the dfs method. 2. Allow for public configuration of setLoopType. 3. Replace subTreeAdd with subTreeForeach for improved clarity and flexibility; provide a callback for enhanced versatility. 4. Standardize the naming of certain methods and parameters. 2023-10-21 20:03:54 +08:00
Revone
bd25485555 [project] generic naming standardized 2023-09-26 13:50:40 +08:00
Revone
ea8f993a4a [prettier] bracket spacing false 2023-09-22 10:43:16 +08:00
Revone
b263262a46 [project] github workflow added. eslint added. formating code by using prettier. 2023-09-21 12:52:17 +08:00
Revone
95b44f439b [project] ESLint applied 2023-09-20 11:39:24 +08:00
Revone
70f439da13 v1.3.3 published 2023-09-19 17:00:25 +08:00
Revone
55704871b6 v1.3.1 published, new Queue implemented from SinglyLinkedList, and ArrayQueue implemented from Array 2023-09-18 22:04:39 +08:00
Revone
773c970667 Establish a unified code editor encoding standard by .editorconfig file. 2023-09-12 11:15:20 +08:00
Revone
1b441f1d47 By constraining the necessity to implement the _createNode method, we ensure that the node types are correct within the subclass. The current design of the Graph needs further optimization. 2023-08-22 08:58:42 +08:00
Revone
07231cd4c4 v1.15.2 published 2023-08-17 00:50:14 +08:00
Revone
2d07c5e5af update Typescript version to 4.9.5, DirectedGraph tests completed, Remedial measures have been taken in TypeScript versions 5.0 and above to enforce consistent access modifiers for getters and setters., annotation content has been enriched. 2023-08-16 22:44:38 +08:00
Revone
02bc7c4b8f add function names 2023-08-16 01:35:16 +08:00
Revone
4da59257e8 Name the addition method as "add" within the unified API 2023-08-14 20:39:10 +08:00
Revone
c6e933acf0 All code annotations have been completed. 2023-08-12 11:35:25 +08:00
Revone
0770aeb2d1 version 0.9.16 published 2023-08-11 22:46:43 +08:00
Revone
d0885cd561 exports bug fixed 2023-06-16 10:58:17 +08:00
Revone
d57926602d first commit 2023-06-16 00:34:28 +08:00