扫码关注官方订阅号
STL RB-TREE的实现中,decrement中node->parent->parent==node? 我的问题: 1.它的parent指针是指向其父节点的,什么情况下 node->parent->parent == node? 2.decrement() 我觉得这个函数是在寻找前驱(中序遍历) 对么?
ringa_lee
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
ringa_lee