Given an array of integers nums, return a new array where every value has been multiplied by 2.
Double Each Value (Set 1) — the data. This set runs 4 cases: nums holds arrays of 3–8 items, with values from -58 to 68. The hidden cases are the largest of the set.