填空题
设根节点的层次为0,则具有n个节点的完全二叉树的深度为{{U}} 【5】 {{/U}}。
1、
【正确答案】
1、{{*HTML*}}[log
2
n]
【答案解析】
[解析] 设其深度为h,则有n>=2
h
:所以h≤log
2
n,h=[log
2
n)。
提交答案
关闭