https://www.hackerrank.com/challenges/matrix-rotation-algo/problem?isFullScreen=false Matrix Layer Rotation | HackerRankRotate the matrix R times and print the resultant matrix.www.hackerrank.com 구현 난이도가 높진 않지만, 구현 시간이 오래걸리는 문제. 회전 대상이 되는 것들을 하나의 긴 배열이라고 생각해보자.예컨대 위 사진의 가운데 사각형을 회전시킨다는 건, [a22, a23, a24, a34, a33, a32] 배열의 순서를 바꾸는 작업이라고도 볼 수 있다.1회 회전: [a23, a24, a34, a33, a32, a22]2회 회전: [a24,..