10陈启峰《sizebalancedtree》.pptVIP

  • 2
  • 0
  • 约7.54千字
  • 约 90页
  • 2018-02-28 发布于广东
  • 举报
10陈启峰《sizebalancedtree》

Size Balanced Tree 中山纪念中学 高二 陈启峰 344368722@QQ.com 总揽全文 BST Rotations : 预备知识 Size Balanced Tree : 定义 功能介绍 Maintain : 核心操作 Analysis : 时间复杂度分析 Advantage : 七大优点 探索历程 : 感性与理性中螺旋前进 Binary Search Tree Binary Search Tree (abbr. BST) 是一棵具有以下性质的二叉树: 对于BST中任意一个结点, (1)左子树中的关键字不大于它的关键字; (2)右子树中的关键字不小于它的关键字. Binary Search Tree 为了方便讨论我们定义: Left [T] : 结点 T 的左儿子 Right [T] : 结点 T 的右儿子 S [T] : 以T为根的子树的结点个数(大小) Rotations 为了保持BST平衡,我们通常使用Rotations 来改变树的形态。 Rotations分为相对的两种类型: Right-Rotate Left-Rotate Rotations Rotations Right-Rotate Rotations Right-Rotate Rotations

文档评论(0)

1亿VIP精品文档

相关文档