Given an array of integers nums, return true when at least two values are equal, and false when every value is distinct.
Contains Duplicate (Set 4) — the data. This set runs 4 cases: nums holds arrays of 18–30 items, with values from -30 to 30. The hidden cases are the largest of the set.