Return `true` if any value appears at least twice in `nums`. Variant **#24**.
Example 1
Input: nums = [3,4,5,6,0,1,2,3]
Output: true
Constraints
Acceptance: 69% · Topics: hash-table, array
← All practice problems