Find First Repeating Element Leetcode Sql 50