Pergunta de entrevista da empresa LTM Limited

Rotation of Array. Finding duplicate items in an array.