填空题

在一个循环顺序队列Q中,判断队空的条件为(),判断队满的条件为()。

正确答案

front==rear;(rear+1)%QueueMaxSize==front

答案解析