摘要: 1 阅读全文
posted @ 2022-07-28 10:46 SherryYuan 阅读(14) 评论(0) 推荐(0)
摘要: https://leetcode.cn/problems/diagonal-traverse/ 太难了,再说吧 阅读全文
posted @ 2022-07-28 10:42 SherryYuan 阅读(9) 评论(0) 推荐(0)
摘要: https://leetcode.cn/problems/zero-matrix-lcci/ class Solution { public void setZeroes(int[][] matrix) { int M=matrix.length; //获取二维数组中一维数组的长度 int N=ma 阅读全文
posted @ 2022-07-28 09:17 SherryYuan 阅读(19) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/xqe777/article/details/123964027 阅读全文
posted @ 2022-07-28 08:52 SherryYuan 阅读(19) 评论(0) 推荐(0)
摘要: https://leetcode.cn/problems/rotate-image/ class Solution { public void rotate(int[][] matrix) { int len=matrix.length; int[][] newMat=new int[len][le 阅读全文
posted @ 2022-07-28 08:51 SherryYuan 阅读(27) 评论(0) 推荐(0)