TRAINING CATEGORIES
TRAINING PROGRAMS
Difficulty Level: HARD
Problem Statement:
Given a square matrix, rotate the matrix by 90 degrees in a clockwise direction i.e., Right Rotation.
Input:
1 2 3 4 5 6 7 8 9
1 2 3
4 5 6
7 8 9
Output:
3 6 9 2 5 8 1 4 7
3 6 9
2 5 8
1 4 7
We use cookies to make interactions with our websites and services easy and meaningful. Please read our Privacy Policy for more details.