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

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

Is it 2n? Just checking.

4条回答
  •  太阳男子
    2021-02-03 14:12

    My book says that the order of a B-tree is the maximum number of pointers that can be stored in a node. (p. 348) The number of "keys" is one less than the order. So a B-tree of order n can hold n-1 elements.

    The book is "File Structures", second edition, by Michael J. Folk.

提交回复
热议问题