Sollicitatievraag bij AKUNA CAPITAL

Rotate a matrix counter-clockwise

Antwoorden op sollicitatievragen

Anoniem

19 jan 2017

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

Anoniem

12 aug 2022

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