摘要:
#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct node{ int data; struct node *next; struct node *pre;}Node;Node *pHead=NULL;void insert(Node *pNode){ if(NULL == pHead) { pHead = pNode; pHead->next = pNode; pHead->pre = pNode; return; } /*插头法*/ pNode->nex 阅读全文