Given an array of at least two integers nums, return the second largest distinct value. If every value is equal, return that value.
Second Largest Value (Set 3) — the data. This set runs 4 cases: nums holds arrays of 21–22 items, with values from -20 to 25. The hidden cases are the largest of the set.