feat(tree): add go codes

This commit is contained in:
reanon
2023-01-15 21:49:22 +08:00
parent 8475317292
commit 00009c8e49
4 changed files with 425 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)
}