feat(content): hidden test cases
This commit is contained in:
@@ -28,6 +28,12 @@ test_cases:
|
||||
expected: true
|
||||
- input: { nums: [0, 0] }
|
||||
expected: true
|
||||
- input: { nums: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] }
|
||||
expected: false
|
||||
- input: { nums: [1, 2, 3, 4, 5, 1] }
|
||||
expected: true
|
||||
- input: { nums: [1000000000, -1000000000] }
|
||||
expected: false
|
||||
|
||||
description: |
|
||||
Given an integer array `nums`, return `true` if any value appears **at least twice** in the array, and return `false` if every element is distinct.
|
||||
|
||||
Reference in New Issue
Block a user