How many elements can be held in a B-tree of order n?

前端 未结 4 1369
面向向阳花
面向向阳花 2021-02-03 13:23

Is it 2n? Just checking.

4条回答
  •  长情又很酷
    2021-02-03 14:09

    Let Order of b-tree is 'm' means maximum number of nodes that can be inserted at same level in a b-tree=m-1.After that nodes will splits. for ex: if order is 3 then only 2 maximum node can be inserted on arrival of 3rd element ,nodes will splits by following the property of binary search tree or self balancing tree.

提交回复
热议问题