摘要: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-place? 思路:把矩阵看成是由多个 阅读全文
posted @ 2016-04-11 23:14 fisherinbox 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. 阅读全文
posted @ 2016-04-11 15:04 fisherinbox 阅读(92) 评论(0) 推荐(0) 编辑