Rotate Two Dimensional Matrix

Core

1
2
3
4

시계방향 : [x][y] -> [n-y][x]
반시계방향 : [x][y] -> [y][n-x]

Question

1
2
input : String s, int n
output : String answer

문제 보기

Solution

Data Structure

Algorithm

Share