Find First Repeating Element Leetcode Problems Two