data-structure-typed/src/data-structures
2024-01-12 14:15:05 +08:00
..
base refactor: Constrain the getter size() from the base class. Refactor some inappropriate performance tests. 2024-01-09 15:57:30 +08:00
binary-tree Refactor: Use 'this.isRealNode' instead of explicit null checks in getHeight, getMinHeight, and getNodeByKey methods in the binary tree. In the red-black tree, directly invoke the parent class getNode method, significantly improving the speed of red-black tree node deletion and retrieval. 2024-01-12 14:15:05 +08:00
graph refactor: Constrain the getter size() from the base class. Refactor some inappropriate performance tests. 2024-01-09 15:57:30 +08:00
hash Refactor: Organize the access permissions of all member variables. Docs: Partial documentation for time and space complexity. 2024-01-05 15:37:28 +08:00
heap refactor: Constrain the getter size() from the base class. Refactor some inappropriate performance tests. 2024-01-09 15:57:30 +08:00
linked-list Refactor: Standardize addition and removal methods for all sequential data structures to push, pop, shift, unshift. 2024-01-09 12:04:50 +08:00
matrix Refactor: Organize the access permissions of all member variables. Docs: Partial documentation for time and space complexity. 2024-01-05 15:37:28 +08:00
priority-queue Refactor: Organize the access permissions of all member variables. Docs: Partial documentation for time and space complexity. 2024-01-05 15:37:28 +08:00
queue Refactor: Standardize addition and removal methods for all sequential data structures to push, pop, shift, unshift. 2024-01-09 12:04:50 +08:00
stack Refactor: Organize the access permissions of all member variables. Docs: Partial documentation for time and space complexity. 2024-01-05 15:37:28 +08:00
tree refactor: Directly constrain the methods clear, map, and filter in the base class. 2024-01-06 17:50:00 +08:00
trie refactor: Directly constrain the methods clear, map, and filter in the base class. 2024-01-06 17:50:00 +08:00
index.ts refactor: Extract all methods such as 'some', 'every', 'entries', 'keys', 'values', 'forEach', 'reduce' into the base classes 'IterableElementBase' and 'IterablePairBase'. 2023-12-02 22:15:18 +08:00