Given an integer array `nums` of length 7, return the largest value in the array. This is variant **#42** — arrays may include negative numbers.
Example 1
Input: nums = [9,16,23,30,37,44,51]
Output: 51
Constraints
Acceptance: 70% · Topics: array, iteration