We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/OI-wiki/OI-wiki/blob/master/docs/ds/rbtree.md#case-4
红黑树,插入后的平衡维护,case4的第一句话让我有很疑惑,原文描述“P节点和U节点都是黑色”,是不是笔误?P节点和U节点都是红色,才违反了性质。而且从后面画出来的图看,P节点和U节点是红色。
还是我理解错了?
The text was updated successfully, but these errors were encountered:
感谢你对 OI Wiki 的关注!记得在 Issue 中表达清楚自己的意思哦~
Sorry, something went wrong.
fix(ds/rbtree): fix typo
9408153
fix OI-wiki#4199
https://oi-wiki.org/ds/rbtree/#case-6
麻烦看一下这里,应该也写错了。
这句话应该是: 若 N 为左子节点则右旋祖父节点 G,否则左旋祖父节点 G。 才对吧
Successfully merging a pull request may close this issue.
请选择:
我正在访问这个页面
https://github.com/OI-wiki/OI-wiki/blob/master/docs/ds/rbtree.md#case-4
我发现页面有这样的问题
红黑树,插入后的平衡维护,case4的第一句话让我有很疑惑,原文描述“P节点和U节点都是黑色”,是不是笔误?P节点和U节点都是红色,才违反了性质。而且从后面画出来的图看,P节点和U节点是红色。
还是我理解错了?
The text was updated successfully, but these errors were encountered: