会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Nickqiao
博客园
首页
新随笔
联系
订阅
管理
2016年9月30日
已知二叉树前序中序遍历重建二叉树
摘要: 中序遍历中根节点前的节点为左子树,根节点后的节点为右子树。class Soultion{public: struct TreeNode* reConstructBinaryTree(vector pre,vector in) { int inlen=in....
阅读全文
posted @ 2016-09-30 22:49 Nickqiao
阅读(147)
评论(0)
推荐(0)
公告