Amazon Interview Question

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