作業(十二)——414. Third Maximum Number

題目 Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n). Example 1: Input: [3, 2, 1]
相關文章
相關標籤/搜索