摘要: 先上一个初级队列的数组实现,缺点是数组不能复用,没有可用性 public class ArrayQueue { private int maxSize;//表示数组最大容量 private int front;//队列头下标 private int rear;//队列尾 private int[] 阅读全文
posted @ 2020-08-24 21:58 枫叶藏在眼眸 阅读(159) 评论(0) 推荐(0)
摘要: 1 import java.io.*; 2 3 /** 4 * @author ZhiYi Li 5 * @create 2020/8/24 10:47 6 * 普通矩阵转稀疏矩阵,稀疏矩阵转普通矩阵,稀疏矩阵的物理存储 7 */ 8 public class SparseArr { 9 publi 阅读全文
posted @ 2020-08-24 12:11 枫叶藏在眼眸 阅读(309) 评论(0) 推荐(0)