AKUNA CAPITAL Interview Question

Rotate a matrix counter-clockwise

Interview Answers

Anonymous

Jan 19, 2017

Rotation is just a transform "Linear Algebra" with special cases at 90, 180,270

Anonymous

Aug 12, 2022

Simplest way assuming 90degrees is to transpose the matrix then reverse rows