Update avl_tree.md (#1524)

Syntax for avl trees updated
pull/1528/head
Akshit 1 month ago committed by GitHub
parent 5849ae4ada
commit 0c60037e56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -180,7 +180,7 @@ AVL 树既是二叉搜索树,也是平衡二叉树,同时满足这两类二
```c title="" ```c title=""
/* AVL 树节点结构体 */ /* AVL 树节点结构体 */
TreeNode struct TreeNode { typedef struct TreeNode {
int val; int val;
int height; int height;
struct TreeNode *left; struct TreeNode *left;

Loading…
Cancel
Save