搜索资源列表
ArrayQueue
- Java队列 队列是一种“FIFO”先进先出的数据结构.可以想象每年在火车站中买票的人群所组成的"队列"。 |队员1 队员2 队员3 队员3 队员4 队员5 队员6 队员7 队员8| ^ ^ 想象两个指针-Java Queue Queue is a " FIFO" First In First Out data structure. Imagine a year of people buy tickets at the station formed in a " q
Arrayqueue
- 利用数组建立队列来实现先进先出的功能利用数组建立队列来实现先进先出的功能-use array to make a queue. to make true the funciton of FIFO
ArrayQueue
- 用array实现queue,包含push, pop, peek等方法-Implement the queue with array