Apple Interview Question

Rotate a matrix 90 degrees in place.