Find First Repeating Element Leetcode Problems On C