随笔分类 -  算法刷题 / 思维题

摘要:图形类题目积累 阅读全文
posted @ 2025-03-23 23:22 韩熙隐ario 阅读(7) 评论(0) 推荐(0)
摘要:Problem: 598. 区间加法 II 思路 脑筋急转弯:因为左上角的矩阵一直在累加,所以统计最小的行和列即可 Code class Solution { public int maxCount(int m, int n, int[][] ops) { int r = m; int l = n; 阅读全文
posted @ 2025-02-02 23:15 韩熙隐ario 阅读(15) 评论(0) 推荐(0)