Leetcode First Repeating Element Interviewbit