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