← Questions

Rotate a matrix by 90 degrees

0
AmazonCodingLast asked Apr 2026

Rotate a square matrix 90 degrees clockwise, in place.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding