Commit graph

11 commits

Author SHA1 Message Date
Revone 70f439da13 v1.3.3 published 2023-09-19 17:00:25 +08:00
Revone b0774bee5b [core] remove all the unnecessary files and directories when publishing the npm package 2023-09-09 23:49:53 +08:00
Revone d4d50fef09 first commit 2023-08-30 11:44:27 +08:00
Revone d29ff07f40 Swap the positions of val and id to enhance the intuitiveness of the API. Revise the design of familyPosition in AbstractBinaryTree such that the previous assignment approach is replaced with a real-time retrieval method. Standardize the BST.remove method with the AbstractBinaryTree.remove method. Eliminate the redundant attribute name from TreeNode. 2023-08-26 10:24:31 +08:00
Revone 60e08d3ac5 Successfully implemented recursive type inference for the BinaryTreeNode type by passing the node constructor through the constructor, effectively addressing the type inconsistency caused by invoking parent class methods after inheritance. 2023-08-22 22:50:16 +08:00
Revone d3f5dd4a9e edge1.data has type problem. After the uniform design, the generics of containers (DirectedGraph, BST) are based on the type of value. However, this design has a drawback: when I attempt to inherit from the Vertex or BSTNode classes, the types of the results obtained by all methods are those of the parent class. 2023-08-22 13:30:22 +08:00
Revone 91c47c28c2 SinglyLinkedList reimplemented and tested 2023-08-19 23:12:16 +08:00
Revone b029c2dd5a .md modified 2023-08-17 09:09:38 +08:00
Revone 2efebe82c2 support test by using Jest 2023-08-12 01:11:08 +08:00
Revone 0770aeb2d1 version 0.9.16 published 2023-08-11 22:46:43 +08:00
Revone d57926602d first commit 2023-06-16 00:34:28 +08:00