Return duplicate elements from an array of numbers
Filed under American Express
The question
Given an array of n numbers, find and return all the duplicate elements present in the array.
No write-up yet. Related questions below have one.
Related American Express questions
Collected from public candidate posts and coding forums. Updated Nov 2026.