Rotate Image(二位數組順時針旋轉)

問題描述: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 中文題目: 有一個NxN整數矩陣,請編寫一個算法,將矩陣順時針旋轉90度。 給定一個NxN的矩陣,和矩陣的階數
相關文章
相關標籤/搜索