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