Pergunta de entrevista da empresa LightMetrics

Write a program to rotate NxN matrix to 180 degree.