In Time Tec Interview Question

Input a matrix and rotate it 90 degree.