Find First Repeating Element Leetcode 150855