单项选择题判定一个队列QU(最多元素为m0)为满队列的条件是()

A.QU->rear-QU->front==m0
B.QU->rear-QU->front-1==m0
C.QU->front==QU->rear
D.QU->front==QU->rear+1


您可能感兴趣的试卷

最新试题