手机扫码访问

导航
您当前的位置:首页 > 高教类 > 工学类
问题:

高效找答案就上答案窝。欢迎访问daanwo.com
[单选题]Which statement regarding red-black trees is wrong? 以下关于红黑树的说法,错误的是:DS2答案窝(daanwo.com)-大学作业答案分享平台
AA red-black tree of size n has a balck height of O(lgn), but the height is not necessarily O(lgn)DS2答案窝(daanwo.com)-大学作业答案分享平台
含n个节点的红黑树,其黑高度为O(lgn),但是总的高度却未必是O(lgn)DS2答案窝(daanwo.com)-大学作业答案分享平台
BThere cannot be two consecutive red nodes in a path from a external node to the rootDS2答案窝(daanwo.com)-大学作业答案分享平台
从红黑树的任一外部节点上溯到根节点,沿途不可能经过连续两个红色节点DS2答案窝(daanwo.com)-大学作业答案分享平台
CThe black height cannot be smaller than half the heightDS2答案窝(daanwo.com)-大学作业答案分享平台
红黑树的黑高度一定不小于总高度的一半DS2答案窝(daanwo.com)-大学作业答案分享平台
Dx (black) and y (black) are two children of a black node. The black height of the sub-trees x and y must equal.DS2答案窝(daanwo.com)-大学作业答案分享平台
红黑树中的黑色节点u有黑色左孩子x和黑色右孩子y,则x与y的黑高度一定相等
高效找答案就上答案窝。欢迎访问daanwo.com
答案解析:

相关问题
关于我们 | 用户指南 | 版权声明 | 给我留言 | 联系我们 | 积分商城 | 答案求助 | 网站地图
Copyright © 2020 www.daanwo.com All Rights Reserved