mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-20 13:12:43 +08:00
fix(avl tree): fix all issue
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
*/
|
||||
struct TreeNode {
|
||||
int val{};
|
||||
int height = 1;
|
||||
int height = 0;
|
||||
TreeNode *parent{};
|
||||
TreeNode *left{};
|
||||
TreeNode *right{};
|
||||
|
Reference in New Issue
Block a user