会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Xylophone
CnBlogs
Contact
Admin
2014年4月25日
二叉树的3种遍历6种实现
struct BiTreeNode{ int data; BiTreeNode *leftChild; BiTreeNode *rightChild;};三种遍历是:前序、中序、后序遍历;每种遍历的实现都有递归和循环2种方法。(注:递归在本质上就是一个栈结构,所以遍历的循环方法可以用栈实现)前序遍历...
Read More
posted @ 2014-04-25 10:49 Xylophone
Views(377)
Comments(0)
Diggs(0)