leetcode-48-旋轉圖像

題目描述: 方法一:先轉置再反轉 class Solution: def rotate(self, matrix: List[List[int]]) -> None: """ Do not return anything, modify matrix in-place instead. """ n = len(matrix)
相關文章
相關標籤/搜索