Pregunta de entrevista de MindNerves Technologies

Write programs to find the duplicate element from an array in single loop.