Find First Repeating Element Leetcode Playground Python W3schools