Pergunta de entrevista da empresa Zoho

Rotation of an array was asked in my coding round.