单项选择题
A.17 B.23 C.21 D.28
判断栈满(元素个数最多n个)的条件是()。A.top==0B.top!=0C.top=-1D.top==n-1
单项选择题判断栈满(元素个数最多n个)的条件是()。
A.top==0 B.top!=0 C.top=-1 D.top==n-1
判断一个顺序队列(最多元素为m)为空的条件是()。A.rear==m-1B.front==rear+1C.fr...
单项选择题判断一个顺序队列(最多元素为m)为空的条件是()。
A.rear==m-1 B.front==rear+1 C.front==rear
在一个栈顶指针为top的链栈中,将一个p指针所指的结点入栈,应执行()。A. p->next=top;top=...
单项选择题在一个栈顶指针为top的链栈中,将一个p指针所指的结点入栈,应执行()。
A. p->next=top;top=p; B. top->next=p; C. p->next=top->next;top=top->next; D. p->next=top->next;top->next=p;