feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 72f7833c6c
commit a1a4eeaed7
134 changed files with 2075 additions and 0 deletions

View File

@@ -26,6 +26,12 @@ test_cases:
expected: 0
- input: { nums: [0, 1, 2, 3, 5] }
expected: 4
- input: { nums: [2, 0, 1, 4, 5, 6, 7] }
expected: 3
- input: { nums: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] }
expected: 10
- input: { nums: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] }
expected: 0
description: |
Given an array `nums` containing `n` distinct numbers in the range `[0, n]`, return *the only number in the range that is missing from the array*.