American Express interview question

Leetcode easy - Based off a given array, return all the repeated numbers.