logo - 刷刷题
下载APP
【单选题】

The height wouldn't exceed __ 高度不超过:

A.
O(1)
B.
O(lgn)
C.
O(n)
D.
O(nlgn)
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】若$a,b\in R$, 则$\max\{a,b\}$和$\min\{a,b\}$分别是 ( ).

A.
$\frac{{a + b + |a - b|}}{2},\frac{{a + b - |a - b|}}{2} $
B.
$\frac{{a - b + |a - b|}}{2},\frac{{a + b - |a - b|}}{2} $
C.
$\frac{{a + b - |a - b|}}{2},\frac{{a - b + |a - b|}}{2}$
D.
$\frac{{a + b + |a - b|}}{2},\frac{{a - b + |a - b|}}{2} $

【单选题】What is a 'double red' in a red-black tree? 在红黑树中,何为双红缺陷:

A.
the root is red 根节点为红色
B.
both the root and the external nodes are red 根节点和外部节点都为红色
C.
both a parent and its child are red 相邻的两个父子节点都为红色
D.
there are two red nodes in the tree 树中有两个红色节点

【单选题】What does “insomnia” mean?

A.
Lack of vitality.
B.
Lack of sleep.
C.
Loss of interest in food.