Why don't we allow a minimum degree of
$t = 1$ ?
According to the definition, minimum degree
Thus, we can see that the minimum case doesn't exist, because no node exists with
For what values of
$t$ is the tree of Figure 18.1 a legal B-tree?
According to property 5 of B-tree, every node other than the root must have at least
Show all legal B-trees of minimum degree
$2$ that represent$\{1, 2, 3, 4, 5\}$ .
Since
-
$$ \begin{array}{c} |,2,| \[6pt] \swarrow \quad \searrow \[6pt] |,1,| \quad |,3,4,5,| \end{array} $$
-
$$ \begin{array}{c} |,3,| \[6pt] \swarrow \quad \searrow \[6pt] |,1,2,| \quad |,4,5,| \end{array} $$
-
$$ \begin{array}{c} |,4,| \[6pt] \swarrow \quad \searrow \[6pt] |,1,2,3,| \quad |,5,| \end{array} $$
-
$$ \begin{array}{c} |,2,4,| \[6pt] \swarrow \quad \downarrow \quad \searrow \[6pt] |,1,| \quad |,3,| \quad |,5,| \end{array} $$
As a function of the minimum degree
$t$ , what is the maximum number of keys that can be stored in a B-tree of height$h$ ?
$$
\begin{aligned}
n & = (1 + 2t + (2t) ^ 2 + \cdots + (2t) ^ {h}) \cdot (2t - 1) \\
& = (2t)^{h + 1} - 1.
\end{aligned}
$$
Describe the data structure that would result if each black node in a red-black tree were to absorb its red children, incorporating their children with its own.
After absorbing each red node into its black parent, each black node may contain