会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
O了吗
博客园
首页
新随笔
联系
订阅
管理
2018年5月23日
通过先序和中序创建二叉树
摘要: #include"iostream" #include"queue" using namespace std; int x[1000],z[1000]; struct Tree{ int data; Tree *left,*right; }; void xzCreate(Tree* &t,int xl,int zl,int len){ //xl:先序起始下标,z...
阅读全文
posted @ 2018-05-23 17:36 oleolema
阅读(3479)
评论(0)
推荐(0)
编辑
公告