Pregunta de entrevista de Amazon

One of the leetcode problems was rotating a 2D array.