知识卡片

普通读书笔记卡 · 3633.a.8.b.3

B树只在根分裂时增高

理解等级:中级
  • 普通满孩子分裂只改变当前层的节点个数;
  • 根满时先建立新根,再拆旧根,树高才增加一层。

B 树的增长发生在顶部,与在叶端添加新层的直觉不同。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第18章 B树 · 查看原书依据

      Splitting the root, illustrated in Figure 18.6, is the only way to increase the height of a B-tree. Unlike a binary search tree, a B-tree increases in height at the top instead of at the bottom.

    参考来源

    - 位置:《算法导论(第4版)》第18章《B树》(OEBPS/chapter018.xhtml,文本字符[20000,25000))。 - 结论依据:原文明确根分裂是树高增加的唯一方式,图18.6显示新根接纳旧根两半。 - 原始内容:Splitting the root, illustrated in Figure 18.6 , is the only way to increase the height of a B-tree. Unlike a binary search tree, a B-tree increases in height at the top instead of at the bottom.