Given a non-empty array of integers nums, return [min, max] computed in a single pass.
Minimum and Maximum (Set 3) — the data. This set runs 4 cases: nums holds arrays of 13–26 items, with values from -195 to 300. The hidden cases are the largest of the set.