Rotate a Matrix by -90 degrees

Example: X =

    1    2    3
    4    5    6
    7    8    9

output =

    7    4    1
    8    5    2
    9    6    3

Solution Stats

299 Solutions

194 Solvers

Last Solution submitted on Jun 11, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...