Third Maximum Element Leetcode Premium