网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条件是()。

A.(rear+1)MODn=front

B.rear=front

C.rear+1=front

D.(rear-l)MODn=front


参考答案

更多 “ 最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条件是()。A.(rear+1)MODn=frontB.rear=frontC.rear+1=frontD.(rear-l)MODn=front ” 相关考题
考题 最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条件是()。A.(rear+1)%n==frontB.rear==frontC.rear+1==frontD.(rear-l)%n==front

考题 6、最大容量为n的循环队列,队尾指针为rear,队头是front,则队空的条件是()。A.(rear+1)%n==frontB.rear==frontC.rear+1==frontD.(rear-1)%n==front

考题 8、最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条 件是()A.(rear+l) MOD n=frontB.rear=frontC.rear+l=frontD.(rear-1) MOD n=front

考题 最大容量为n的循环队列,队尾指针为rear,队头指针为front,则队空的条件是()。A.(rear+1)%n==frontB.rear==frontC.rear+1==frontD.(rear-l)%n==front

考题 最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条件是 ()。A.(rear+1) % n=frontB.rear=frontC.rear+1=frontD.(rear-l) MOD n=front

考题 最大容量为n的循环队列,队尾指针为rear,队头指针为front,则队空的条件是()。A.(rear+1) MOD n=frontB.rear=frontC.rear+1=frontD.(rear-l) MOD n=front

考题 9、最大容量为n的循环队列,队尾指针为rear,队头指针为front,则队空的条件是()。A.(rear+1)%n==frontB.rear==frontC.rear+1==frontD.(rear-l)%n==front

考题 最大容量为n的循环队列,队尾指针为rear,队头指针为front,则队空的条件是()。A.rear==frontB.(rear+1)%n==frontC.rear+1==frontD.(rear-l)%n==front

考题 最大容量为n的循环队列,队尾指针是rear,队头是front,则队空的条件是 ()A.(rear+1) MOD n=frontB.rear=frontC.rear+1=frontD.(rear-l) MOD n=front