![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
matrix
feeeeeeet
这个作者很懒,什么都没留下…
展开
-
Leetcode 48. Rotate Image
Fold along the middle line and then fold along the diagonal line.1 2 3 \space \space \space \space 3 2 1 \space \space ...原创 2018-12-05 23:21:09 · 86 阅读 · 0 评论 -
Leetcode 54 & 59. Spiral Matrix I & II
Spiral Matrix Iclass Solution: def spiralOrder(self, matrix): """ :type matrix: List[List[int]] :rtype: List[int] """ if len(matrix) == 0: retu...原创 2018-12-12 07:08:58 · 101 阅读 · 0 评论 -
Leetcode 73. Set Matrix Zeroes
class Solution: def setZeroes(self, matrix): """ :type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead. """原创 2018-12-29 00:38:17 · 72 阅读 · 0 评论