407 ETR Interview Question

Write code to rotate a NxN matrix in place