59. 螺旋矩阵 II

class Solution: def generateMatrix(self, n): """ :type n: int :rtype: List[List[int]] """ A,low = [],n*n+1 while low>1: low,high = low-len(A),low A
相关文章
相关标签/搜索