Given a non-empty array of integers nums, return [value, index] for the largest value. On a tie, return the first index.
Maximum Value and Index (Set 2) — the data. This set runs 4 cases: nums holds arrays of 12–19 items, with values from -48 to 88. The hidden cases are the largest of the set.