Easy

Quiz

#217 Contains Duplicate

APPROACH

Return true if the integer array nums contains any repeated value, or false if all values are unique.

1 of 4
1:00

What is the optimal approach for this problem?