Question d’entretien chez Infosys

How to rotate an array?