Frage im Vorstellungsgespräch bei MindNerves Technologies

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