Merge pull request #260 from Reanon/feat-c-tree

feat(tree): add C codes to avl_tree/binary_search_tree.
This commit is contained in:
Yudong Jin
2023-01-17 00:35:39 +08:00
committed by GitHub
4 changed files with 447 additions and 1 deletions

View File

@@ -49,6 +49,6 @@ func testInsert(tree *avlTree, val int) {
func testRemove(tree *avlTree, val int) {
tree.remove(val)
fmt.Printf("\n删除结点 %d 后AVL 树为 \n", val)
fmt.Printf("\n删除结点 %d 后AVL 树为 \n", val)
PrintTree(tree.root)
}