LTM Limited interview question

Rotation of Array. Finding duplicate items in an array.