Pergunta de entrevista da empresa InfinityLabs R&D

Write a function that moves an array N times to the left.