217. Contains DuplicateEasy
Given an integer array
nums, returntrueif any value appears at least twice in the array, and returnfalseif every element is distinct.
- Problem
- Solutions
Given an integer array
nums, returntrueif any value appears at least twice in the array, and returnfalseif every element is distinct.