Ashes To Glory: Rotating a 2D array of integers (matrix) by a given angle (+90, -90, +180, -180) Problem...

Please Visit: http://ift.tt/1ajReyV



Ashes To Glory: Rotating a 2D array of integers (matrix) by a given angle (+90, -90, +180, -180)

Problem definition: You are given a 2D square matrix, or 2D array of integers of size n (n rows and n columns), your output should be n by n 2D matrix rotated by a given angle, which could be +90, -90, +180, -180.

http://ift.tt/1qzwe1B

http://ift.tt/1mAtjpc



Ashes To Glory: Rotating a 2D array of integers (matrix) by a given angle (+90, -90, +180, -180)







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1qzwcXu

via LifeLong Community

No comments:

Post a Comment