LeetCode
Third Maximum Number
Click
here
for an explanation.