Rotate Matrix 90 Degrees

Medium
arrays Amazon Microsoft

Test Cases

Python Editor

Output

Click "Run" to see results...