摘要: 1 public class Queue { 2 //队首指针 3 private int front; 4 //队尾指针 5 private int rear; 6 //数组 7 private int[] arr; 8 //数组最大长度 9 private int maxSize; 10 11 //初始化队列长度 12 public Queue(int maxSize){ 13 this.ma 阅读全文
posted @ 2019-09-22 17:33 何侠客 阅读(897) 评论(0) 推荐(0)