摘要: 1.讲解 1380. 矩阵中的幸运数 模拟试用两个数组row[n]含义为第 n行的最小值,col[m] 为第 m 列的最大值。然后遍历取出幸运数。 2.代码 class Solution { public List<Integer> luckyNumbers (int matrix) { int[] 阅读全文
posted @ 2022-02-15 09:28 yun_you 阅读(32) 评论(0) 推荐(0)