Problem 1841. Rotate Matrix Both Direction (45 Degree)

Matrix (3x3 only) rotation:

3 inputs: x matrix, n times and m option.

output: y matrix with n x 45 degree rotation. m=1 for clockwise & m=2 for counterclockwise.

Solution Stats

65.71% Correct | 34.29% Incorrect
Last solution submitted on May 16, 2019

Problem Comments