文件名称:S020600424
介绍说明--下载内容均来自于网络,请自行研究使用
最近公共祖先问题
问题描述:给定一棵树,设计一个算法对于给定的两个结点返回他们的最近公共祖先
实验任务:对于给定的树和树中的结点对,输出最近公共祖先-Recently, the issue of public issue of ancestral Descr iption: given a tree, to design an algorithm for a given node of the two return to their ancestors in recent experiments of public tasks: for a given tree and the tree node that the output of the recent public ancestors
问题描述:给定一棵树,设计一个算法对于给定的两个结点返回他们的最近公共祖先
实验任务:对于给定的树和树中的结点对,输出最近公共祖先-Recently, the issue of public issue of ancestral Descr iption: given a tree, to design an algorithm for a given node of the two return to their ancestors in recent experiments of public tasks: for a given tree and the tree node that the output of the recent public ancestors
(系统自动生成,下载前可以参看下载内容)
下载文件列表
S020600424
..........\lca.c
..........\lca.ppt
..........\lca.c
..........\lca.ppt