正在加载图片...
2.2V CI 2)循环队列 2 3 >队空条件 front rear MAXSIZE front >队满条件 rear front rear+1 3 2 front rear MAXSIZE +1 83 4 (%---求模运算符) a MAXSIZE a 1 81+1 i+1 front rear 电子科技大学刘民岷 堆栈和队列 7电子科技大学 刘民岷 7 2.2 队列的顺序存储结构 堆栈和队列 2)循环队列  队空条件 front = rear ;  队满条件 front = rear+1 front = rear % MAXSIZE +1 (%----求模运算符) rear front 1 2 3 MAXSIZE ... 1 2 3 4 ... i rear i+1 front ... MAXSIZE a1 a2 a3 ai ai+1
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有