基于循环链表的队列的基本操做

注意不设头指针,注意细节!!!node #include<bits/stdc++.h> using namespace std; typedef struct node { int a; struct node *next; }node,*link; typedef struct { link rear; }Link; void Push(Link &Q,int n) {
相关文章
相关标签/搜索