- The
minimum (smallest) number of nodes
of a path from
root node → leaf node
is
equal to N:
- A path from
root node → leaf node
cannot have
any more
black nodes
(otherwise, the Red-black tree will
violate
property #5)
A path from
root node → leaf node
can include
more
red nodes !!!
Example:
We have have at most
N − 1
red nodes in a
path from
root node → leaf node:
Therefore: the
maximum (largest) number of nodes
of a path from
root node → leaf node
is
equal to N + (N−1)
= 2N−1
|