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