Third Maximum Element Leetcode Playground Python