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://oi-wiki.org/ds/rbtree/#case-3_1
待删除节点有且仅有一个非 NIL 子节点,若待删除节点为红色,……
根据红黑树的定义,恰好有一个非 NIL 子节点一个 NIL 子节点的待删除节点不可能是红色的,否则会打破红黑树的性质 4:从根节点到 NIL 节点的每条路径上的黑色节点数量相同。
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
请选择:
我正在访问这个页面
https://oi-wiki.org/ds/rbtree/#case-3_1
我发现页面有这样的问题
根据红黑树的定义,恰好有一个非 NIL 子节点一个 NIL 子节点的待删除节点不可能是红色的,否则会打破红黑树的性质 4:从根节点到 NIL 节点的每条路径上的黑色节点数量相同。
The text was updated successfully, but these errors were encountered: