The height of a B-tree decreases only whenB树高度的减少只会发生于
A: merging two children of the root 根节点的两个孩子合并
B: removing the root 根节点被删除
C: rotating the root 根节点发生旋转
D: there are multiple keys in the root 根节点有多个关键码
A: merging two children of the root 根节点的两个孩子合并
B: removing the root 根节点被删除
C: rotating the root 根节点发生旋转
D: there are multiple keys in the root 根节点有多个关键码
举一反三
- When you want to delete an element in a complete binary heap, the position of this element is:完全二叉堆中要删除一个元素时,这个元素的位置是:- 未答 A: root根节点 B: leaf叶子节点 C: Can be any node可以是任意节点 D: Root node or leaf node根节点或叶子节点
- ()属性用于获取HTML文件的根节点。 A: document B: root C: node D: body
- The method for inserting elements in a full binary heap is在完全二叉堆中插入元素的方法是 A: Insert into the bottom, percolateUp插入到底层,上滤 B: Insert into the root, percolateDown插入到根节点,下滤 C: Insert into the bottom directly直接插入到底层 D: Insert into the root directly直接插入到根节点
- 非空循环链表所表示的数据结构( )。 A: 有根节点也有叶子节点 B: 没有根节点但有叶子节点 C: 有根节点但没有叶子节点 D: 没有根节点也没有叶子节点
- 在红黑树中,何为双红缺陷: A: 根节点为红色 B: 根节点和外部节点都为红色 C: 相邻的两个父子节点都为红色 D: 树中有两个红色节点