阅读背景:

hdu1710 Binary Tree Traversals(二叉树的遍历)

来源:互联网 
  Input The input contains several test cases. The first line of each test case contains a single integer n (1<=n<=1000), the number of vertices of the binary tree. Followed by two lines, respectively indicating the preorder sequence and inorder sequence. You can assume they are always correspond to a exclusive binary tree.The input contains several test cases. The


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: