Pergunta de entrevista da empresa Persistent Systems

matrix type coding questions.. Rotate a matrix