Pregunta de entrevista de Enosis Solution

How to shift elements of an array by one place?