Skip to content

Files

Latest commit

ea60111 · Dec 3, 2016

History

History

Rotate Image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 3, 2016
Dec 3, 2016

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?

Subscribe to see which companies asked this question