问题:[填空题]
31
● 参考解析
设队列容量为m,则:rear>front,则队列中元素个数为rear-front;rear<front,则队列中元素个数为m+(rear-front)。本题rear<front,则m=32+(2-3)=31。
推荐题目
相关标签