数据结构----队列

197 阅读1分钟

判断空队列:Q.front = Q.rear;

判断队列满:(Q.rear + 1) % MAXSIZE = Q.front

循环队列 解决假溢出