mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 14:27:26 +08:00
feat(tree): add go codes
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user