Find duplicate number in array
Filed under Infoedge
The question
Find the duplicate number in an array of size N+1 with elements in the range 1 to N.
No write-up yet. Related questions below have one.
Related Infoedge questions
Collected from public candidate posts and coding forums. Updated Nov 2026.