Search⌘ K
AI Features

Contains Duplicate

Contains Duplicate gives you an integer array and asks whether any value appears more than once, returning true when duplicates exist and false otherwise.

Statement

For a given array of integers, nums, return TRUE if it contains duplicates. Otherwise, return FALSE.

...