Uber interview question

Find duplicated integers from an array