LeetCode 310. Minimum Height Trees(最小高度树)
原题网址:https://leetcode.com/problems/minimum-height-trees/
For a undirected graph with tree characteristics, we can choose any node as the root. The result graph is then a rooted tree. Among all po
原创
2016-04-21 06:51:54 ·
3031 阅读 ·
0 评论