Has DupesReading Only
You are given an Integer list nums.
Return true if any value appears at least twice in the array, and return false if every element is distinct.
Example 1:
Input: nums = [1,1,2,3]
Output: true
Explanation: '1' appears twice
Example 2:
Input: nums = [1, 5, 18, 3]
Output: false
Explanation: All elements where unique
Constraints
n == nums.size()
 1 <= n < 10