摘要: #include#includeusing namespace std;typedef int elemtype;typedef struct LNode{ elemtype data; struct LNode *next;}LNode,*Linklist;void creatlist(Linkl... 阅读全文
posted @ 2014-10-21 21:36 NYNU_ACM 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 二叉树中求叶子节点个数:当二叉树不为空,而且左子树和右字数 不为空时:#include #include typedef char ElemType;typedef struct BiTNode{ElemType data;struct BiTNode* Lchild;struct BiTNode*... 阅读全文
posted @ 2014-10-21 21:12 NYNU_ACM 阅读(441) 评论(0) 推荐(0) 编辑