随笔 - 741  文章 - 0  评论 - 260  阅读 - 416万
  2012年11月24日
摘要: ------ 二叉树的顺序存储表示 ------#define MAX_TREE_SIZE 100;typedef TElemType SqBiTree[MAX_TREE_SIZE];SqBiTree bt;------ 二叉树的 二叉链表存储表示 ------typedef struct BiTNode { TElemType data; struct BiTNode * lchild, *rchild;}BiTNode,BiTree;遍历2叉树 L,D,R (左子树,根,右子树) 先根遍历,中根遍历,后根遍历。status PreOderTraverse(BiTree t, statu.. 阅读全文
posted @ 2012-11-24 11:39 莫水千流 阅读(304) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示