Powershell Find Duplicates Leetcode