
13.22 | Data Structures and Algorithms Using C++
13.6 HEIGHT OF B TREES
Let T be a B tree of order
m
and height
h
with
n
elements. Since a B tree with order
m
is an
m
-way tree, then
m
satis es
n
≤
m
h
–1. Now the upper bound of n is known, then what is its lower bound? at is what is the mini-
mum number of elements that a B tree of order
m
and height
h
can hold. First nd the minimum number of
nodes in levels 1, 2, 3. . . (
h
+1), where
h
+1 is the level at which external nodes exist, let t= [
m
/2]. e minimum
number of nodes on the levels 1, 2, 3 . . ., (
h
+1) is given by 1, 2, 2
t
, 2
t
2
, . . ., 2
t
(h-1)
, so the lower bound of
n
is
given by ...