Amazon Interview Question

Modification of Array rotation, matrix manipulation