Amazon interview question

Modification of Array rotation, matrix manipulation