知识卡片

普通读书笔记卡 · 3726.f.1.b.1

祖先子树由根路径确定

理解等级:中级

在有根树中,根到x的唯一路径上的节点都是x的祖先,节点也算自己的祖先。

以x为根的子树由x全部后代诱导,不能只取其直接孩子。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《算法导论(第4版)》附录B《集合等离散数学基础》(OEBPS/appendix002.xhtml,文本字符[35000,40000))。 - 结论依据:附录B树的证明和定义、图着色问题;图B.6–B.8及对应公式图已查看。 - 原始内容:We call any node y on the unique simple path from r to x an ancestor of x . If y is an ancestor of x , then x is a descendant of y . (Every node is both an ancestor and a descendant of