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
相關文章
相關標籤/搜索