Pergunta de entrevista da empresa Money View

Rotate a matrix by 90 degree in clockwise direction without using any extra space