Find All Duplicates In An Array Coding Question