摘要: 暴力穷举 class NumMatrix { private int[][] matrix; public NumMatrix(int[][] matrix) { this.matrix = matrix; } public int sumRegion(int row1, int col1, int 阅读全文
posted @ 2019-08-11 22:42 lasclocker 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 思路 dp问题,空间换时间,递推公式(初始化+转移方程), 解法 暴力穷举,回溯 参考: https://leetcode.com/articles/coin change/ 阅读全文
posted @ 2019-08-11 17:41 lasclocker 阅读(451) 评论(0) 推荐(0) 编辑