
二叉树
know_heng
步步皆题
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
已知二叉树的中序前序遍历,还原树结构+层次遍历
L2-011. 玩转二叉树 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一棵二叉树的中序遍历和前序遍历,请你先将树做个镜面反转,再输出反转后的层序遍历的序列。所谓镜面反转,是指将所有非叶结点的左原创 2017-03-22 20:51:45 · 843 阅读 · 0 评论 -
POJ 2255(已知前中序遍历 还原树)
Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in the nodes. This is an example of one of her creat原创 2017-04-07 10:35:34 · 309 阅读 · 0 评论