golang 手撸 平衡二叉树

_AlphaBaby_ ·
查找最大节点笔误 // 查找最大值 ```go 1. func (avlNode *AVLNode) FindMax() *AVLNode { 2. var finded *AVLNode 4. if avlNode.Right != nil { 5. finded = avlNode.Right.FindMin() 6. } else { 7. finded = avlNode 8. } 10. return finded 11. } ``` 上述第5行应该改为 --> finded = avlNode.Right.FindMax()
#1