摘要: 解法1:朴素算法 矩阵乘法公式 θ(n3) public static int[][] SparseMatrixMultiplication( int[][] A , int[][] B ){ int M = A.length; int N = B[0].length;//取列长 int K = A 阅读全文
posted @ 2017-03-27 22:04 会飞的胖子 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 2017/3/23 17:52:07 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the arr 阅读全文
posted @ 2017-03-27 00:00 会飞的胖子 阅读(209) 评论(0) 推荐(0) 编辑