![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树
棉毛裤穿吗
而我们终将回归那片太初的花海
展开
-
4.20 PAT 甲级 1021 Deepest Root
A graph which is connected and acyclic can be considered a tree. The height 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 ...原创 2020-04-20 11:09:33 · 165 阅读 · 0 评论 -
4.20 PAT 甲级 1020 Tree Traversals
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level order traversal sequence of the cor...原创 2020-04-20 09:44:07 · 153 阅读 · 0 评论 -
4.19 PAT 甲级 1004 Counting Leaves
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one test case. Each case starts...原创 2020-04-19 10:14:03 · 104 阅读 · 0 评论