feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 89b5dd1457
commit 6bed0a6787
134 changed files with 2075 additions and 0 deletions

View File

@@ -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.