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

最大容量为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)%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