結果 : find first duplicate in array leetcode