https://oj.leetcode.com/problems/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?
'풀어본 Algorithm 문제 정리' 카테고리의 다른 글
[google] the smallest range from k lists (4) | 2014.09.07 |
---|---|
[Oj.leetcode] generate-parentheses (1) | 2014.09.05 |
[OJ.leetcode] plus-one (0) | 2014.08.29 |
[OJ.leetcode] remove-duplicates-from-sorted-array (0) | 2014.08.28 |
[OJ.leetcode] balanced-binary-tree (0) | 2014.08.28 |