LeetCode No.414 Third Maximum Number | #Array #long_vs_int
Q:Givenanon-emptyarrayofintegers,returnthethirdmaximumnumberinthisarray.Ifitdoesnotexist,returnthemaximumnumber.ThetimecomplexitymustbeinO(n).Example1:Input:[3,2,1]Output:1Explanation:Thethirdmaximumi