Microsoft Interview Question

The technical question was to find the repeated items in a array.