ASUS Interview Question

Rotate a 2D matrix in place