Third Maximum Number Leetcode Problem Set 2