Which of the following statements about Red-Black trees and B- trees is true? A) Red-Black trees and
Question:
Which of the following statements about "Red-Black trees" and "B- trees" is true?
A) Red-Black trees and B-trees are both self-balancing binary trees, but Red-Black trees have better worst-case guarantees on search time complexity.
B) Red-Black trees and B-trees are both self-balancing binary trees, but B-trees have better worst-case guarantees on search time complexity.
C) Red-Black trees are a type of B-tree with additional constraints on the structure, while B-trees are a type of Red-Black tree with additional constraints on the balance.
D) Red-Black trees and B-trees are completely different types of binary trees and cannot be compared in terms of their properties or performance.
Note: Red-Black trees are a type of self-balancing binary tree with constraints on the balance and color of the nodes, while B-trees are a type of self-balancing tree designed for use on disk storage systems.