首页 > TAG信息列表 > ArrayQueue

2. 队列ArrayQueue

数据从队列的尾部加入,从队列的队首取出 出队列这里写的有歧义,实际上,front=1-->取出arr[1]。front=2-->取出a[2]。