CODES

some learning from problems.

CODES

some learning from problems.

Showing posts with label rotation. Show all posts
Showing posts with label rotation. Show all posts
Friday, 6 July 2012

Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place?

›
INPUT  >   OUTPUT        INPUT    >  >    OUTPUT   4                                         4                                ...
3 comments:
›
Home
View web version
Powered by Blogger.
Powered by Blogger.