二叉树遍历
h1021456873
这个作者很懒,什么都没留下…
展开
-
PAT 1020 已知中序后序,还原二叉树 (二叉树遍历问题)
1020. Tree Traversals (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary tree are distinct po原创 2016-12-07 00:32:29 · 620 阅读 · 0 评论 -
1119. Pre- and Post-order Traversals (已知前序后续求中序)
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 sequences, or preorder and inorder原创 2016-12-09 13:50:23 · 313 阅读 · 0 评论