Amazon Interview Question

Shift a n*n matrix my k places