← Goldman Sachs questions

Find duplicate in array

Filed under Goldman Sachs · Also reported at Accolite, Citrix

Given an array of n+1 integers where each integer is between 1 and n, find the duplicate element.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.