Question d’entretien chez Amazon

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