|
def spiralOrder(self, matrix: List[List[int]]) -> List[int]:
|
|
def spiralOrder(self, matrix: List[List[int]]) -> List[int]:
|
|
m, n = len(matrix), len(matrix[0])
|
|
m, n = len(matrix), len(matrix[0])
|
|
a = s.spiralOrder([[1,2,3,4],[5,6,7,8],[9,10,11,12]])
|
|
a = s.spiralOrder([[1,2,3,4],[5,6,7,8],[9,10,11,12]])
|