A.Pop(s,a[i++])
B.Push(s,a[i++])
C.Push(s,a[i])
D.Pop(s,a[i])
第2题
StatusSymmetryString(char*p){Queueq;if(!InitQueue(q))return0;Stacks;InitStack(s);ElemTypee1,e2;while(*p){Push(s,*p);EnQueue(q,*p);p++;}while(!StackEmpty(s)){()DeQueue(q,e2);if(e1!=e2)returnFALSE;}returnOK;}A
A.Pop(s,e1);
B.Push(s,*p);
C.EnQueue(q,*p)
D.P--P--P--P--P--P--P--P--
第3题
循环队列存储在数组A[0..m-1],则出队时的操作为()
A.front=front+1
B.front=(front+1)mod(m-1)
C.front=(front+1)modm
D.front=(frontmodm)+1
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!