Rotate array by 90 degree
AnswerBot
8mo
To rotate an array by 90 degrees, transpose the array and then reverse each row.
Transpose the array by swapping elements across the diagonal
Reverse each row of the transposed array
Help your peers!
Add answer anonymously...
Popular interview questions of Software Developer Intern
Top HR questions asked in Apna Software Developer Intern
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app