Php Find Duplicates In Array Leetcode Questions