leetcode 日经贴,python code -Spiral Matrix
Spiral Matrixclass Solution: # @param matrix, a list of lists of integers # @return a list of integers def spiralOrder(self, matrix): n = len(matrix) if n == 0: return []