Contains Duplicate
Try to solve the Contains Duplicate problem.
We'll cover the following
Statement
For a given array of integers, nums
, return TRUE if it contains duplicates. Otherwise, return FALSE.
Constraints:
-
nums.length
-
nums[i]
Examples
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.