Question 61
Which operation in a red-black tree can restore balance after insertion?
Both recoloring and rotations may be used.
Which operation in a red-black tree can restore balance after insertion?
Both recoloring and rotations may be used.
What is the key-order property inside each node of a B-tree?
Sorted keys guide the search toward the appropriate child.
What is the typical time complexity of search in a B-tree with n keys?
B-tree height is logarithmic in the number of keys.
What is the main reason B-trees are effective for secondary storage?
Many keys per node reduce tree height and I/O operations.
In a B-tree, all leaves are at what relative depth?
Uniform leaf depth is a B-tree invariant.