BFS
隨兴
在校研究生,努力奋斗中
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT——1094 The Largest Generation (25 分)(BFS遍历树)
1094The Largest Generation(25分) A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to find the generation ...原创 2019-08-30 20:48:23 · 210 阅读 · 0 评论 -
PAT——1127 ZigZagging on a Tree (30 分)(BFS遍历树)
1127ZigZagging on a Tree(30分) Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and inorder traversal s...原创 2019-08-30 20:50:10 · 231 阅读 · 0 评论
分享