Pregunta de entrevista de Persistent Systems

matrix type coding questions.. Rotate a matrix