摘要:
#include <cstdio> #include <iostream> using namespace std; const int N = 50; int pre[N], in[N], post[N]; int n; struct node { int data; node* lchild; 阅读全文
摘要:
头插法代码:‘ void CreateListF(LinkList &L,int n){ L = new LNode;//创建头结点 L->next = NULL;//初始为空链表 for(int i=0;i<n;i++) { LNode* p = new LNode;//创建新节点 cin>>p- 阅读全文