Update avl_tree.md (#1524)

Syntax for avl trees updated
This commit is contained in:
Akshit 2024-10-10 15:53:54 +05:30 committed by GitHub
parent 5849ae4ada
commit 0c60037e56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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