Given an integer array
nums
, return the third distinct maximum number in this array. If the third maximum does not exist, return the maximum number.
1 | class Solution { |
Given an integer array
nums
, return the third distinct maximum number in this array. If the third maximum does not exist, return the maximum number.
1 | class Solution { |