HOW TO Find All Duplicates in an Array - Leetcode 442