判定一个循环队列qu(最多元素为MaxSize)为空的条件是()。A.QU->rear - QU->front = =MaxSizeB.QU->rear - QU->front -1= =MaxSizeC.QU->front = = QU->rearD.QU->front = = QU->rear+1

判定一个循环队列qu(最多元素为MaxSize)为空的条件是()。

A.QU->rear - QU->front = =MaxSize

B.QU->rear - QU->front -1= =MaxSize

C.QU->front = = QU->rear

D.QU->front = = QU->rear+1


相关考题:

判定一个循环队列QU(最多元素为m)为空的条件是(33)。A.QU->front==QU->rearB.QU->front!=QU->rearC.QU->front=(QU->rear+1)%mD.QU->front!=(QU->rear+1)%m

判定一个循环队列Q(最多元素为m0, m0= =Maxsize-1)为满队列的条件是_______A.(rear+1)%Maxsize == frontB.rear-front-1 == m0C.front == rearD.front == rear+1

判定一个队列QU(最多元素为m0)为满队列的条件是A.QU->rear - QU->front -1= = m0B.QU->rear - QU->front = = m0C.QU->front = = QU->rearD.QU->front = = QU->rear+1

顺序循环队列qu的队满条件(front队首指针指向队首元素,rear队尾指针指向队尾元素的后一个位置,采用浪费一个空间的方式进行存储,队列元素最大个数为MaxSize)是 ()。A.(qu.rear+1)%MaxSize==qu.frontB.(qu.rear+1)%MaxSize==qu.front+1C.qu.rear==qu.frontD.(qu.rear+1)%MaxSize==(qu.front+1)%Maxsize

3、判定一个循环队列Q(最多元素为m0, m0= =Maxsize-1)为满队列的条件是_______A.(rear+1)%Maxsize == frontB.rear-front-1 == m0C.front == rearD.front == rear+1

判定一个队列QU(最多元素为m0)为满队列的条件是A.QU->rear - QU->front = = m0B.QU->rear - QU->front -1= = m0C.QU->front = = QU->rearD.QU->front = = QU->rear+1

判定一个循环队列QU(最多元素为m, m= =Maxsize-1)为满队列的条件是____。A.((rear- front)+ Maxsize)% Maxsize = =mB.rear-front-1= =mC.front= =rearD.front= = rear+1

判断一个循环队列QU(最多元素为MAX)满的条件是()。A.QU->front= = QU->rearB.QU->front! = QU->rearC.QU->front ==(QU->rear+1)% MAXD.QU->front! =(QU->rear+1)% MAX

3、循环队列qu的队满条件(front指向队首元素的前一位置, rear指向队尾元素)是A.(qu.rear+1)%MaxSize==(qu. front+1)%MaxSizeB.(qu. rear+1)%MaxSize= =qu. front+1C.(qu. rear+1)%MaxSize==qu. frontD.qu. rear==qu. front