Skip to content

Commit

Permalink
更新红黑树.md
Browse files Browse the repository at this point in the history
Signed-off-by: zhendewokusi <768672249@qq.com>
  • Loading branch information
zhendewokusi committed Jul 31, 2024
1 parent 3b4c84c commit 0090e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_drafts/Red_Black_Tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ struct rb_node *rb_prev(struct rb_node *node)
return node;
}
while (node->rb_parent && node == node->rb_parent->rb_left)
while (node->rb_parent && node == node->rb_parent->rb_left)
node = node->rb_parent;
return node->rb_parent;
Expand Down

0 comments on commit 0090e13

Please sign in to comment.