会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
RθθT
博客园
首页
新随笔
联系
订阅
管理
2021年8月24日
【c++】二叉树的遍历问题
摘要: 二叉树的遍历问题 二叉树的存储结构 struct node { int data; node *lchild,*rchild; }; 二叉树的先序遍历 #include<iostream> using namespace std; void Preorder(node *root) { if(roo
阅读全文
posted @ 2021-08-24 22:58 RθθT
阅读(59)
评论(0)
推荐(0)
公告
点击右上角即可分享