PAT-A1021 Deepest Root 题目内容及题解

A graph which is connected and acyclic can be considered a tree. The hight of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree. Such a root i
相关文章
相关标签/搜索