Meetri Infotech interview question

Find repeated element in a array