Skip to content

Commit

Permalink
Update avl_tree.md (krahets#1524)
Browse files Browse the repository at this point in the history
Syntax for avl trees updated
  • Loading branch information
LifeGoesOnionOnionOnion authored Oct 10, 2024
1 parent 5849ae4 commit 0c60037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter_tree/avl_tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ AVL 树既是二叉搜索树,也是平衡二叉树,同时满足这两类二

```c title=""
/* AVL 树节点结构体 */
TreeNode struct TreeNode {
typedef struct TreeNode {
int val;
int height;
struct TreeNode *left;
Expand Down

0 comments on commit 0c60037

Please sign in to comment.