摘要:
#include#includeusing namespace std;typedef int elemtype;typedef struct LNode{ elemtype data; struct LNode *next;}LNode,*Linklist;void creatlist(Linkl... 阅读全文
摘要:
二叉树中求叶子节点个数:当二叉树不为空,而且左子树和右字数 不为空时:#include #include typedef char ElemType;typedef struct BiTNode{ElemType data;struct BiTNode* Lchild;struct BiTNode*... 阅读全文