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