摘要:
稀疏数组,作为压缩普通数组的一种方式 import java.util.Arrays; /** * 1、原数组的行数,列数,非0数据个个数 * 2、所有非0数据个坐标(row,column) */ public class SparseArray { public static int[][] toSparseArray(int[][] array) { /... 阅读全文
posted @ 2019-07-05 21:07
喝花茶
阅读(778)
评论(0)
推荐(0)
摘要:
Queue定义,直接copyJava的Queue,去除了Collection接口。 ArrayQueue 阅读全文
posted @ 2019-07-05 20:33
喝花茶
阅读(2713)
评论(0)
推荐(0)

浙公网安备 33010602011771号