Given an array of integers nums, return true when the values are in non-decreasing order, and false otherwise.
Is the Array Sorted? (Set 8) — the data. This set runs 4 cases: nums holds arrays of 18–29 items, with values from -20 to 20. The hidden cases are the largest of the set.