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