双向链表 栈 队列
双向链表初始化typedef struct node{int data;struct node *prev,*next;
}Node;Node* iniList()
{Node *head(Node*)malloc(sizeof(Node));head->data0;head->nextNULL;Head->prevNULL;return head;
}头插法int insertHead(Node* L,int e)
{Node *p(Node*)malloc(size…
2026/8/18 14:21:10