知识卡片
单孩子的左右位置有别
二叉树中,一个节点即使只有一个孩子,也必须区分它位于左侧还是右侧。
普通有序树只有单孩子时没有左右位置差别,所以“每节点至多两个孩子的有序树”不足以定义二叉树。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 附录B 集合等离散数学基础 · 查看原书依据
A binary tree is not simply an ordered tree in which each node has degree at most 2. For example, in a binary tree, if a node has just one child, the position of the child—whether it is the
参考来源
- 位置:《算法导论(第4版)》附录B《集合等离散数学基础》(OEBPS/appendix002.xhtml,文本字符[40000,45000))。
- 结论依据:附录B树的证明和定义、图着色问题;图B.6–B.8及对应公式图已查看。
- 原始内容:A binary tree is not simply an ordered tree in which each node has degree at most 2. For example, in a binary tree, if a node has just one child, the position of the child—whether it is the