摘要:
题目链接 https://pintia.cn/problem-sets/994805342720868352/problems/994805343727501312 题解 题目要求 最近公共祖先(LCA,The lowest common ancestor) 在一颗树中,结点U和V的LCA是U和V为 阅读全文
摘要:
题目链接 https://pintia.cn/problem-sets/994805342720868352/problems/1038430130011897856 题解 题目要求 最近公共祖先(LCA,The lowest common ancestor) 在一颗树中,结点U和V的LCA是U和V 阅读全文