feat(content): hidden test cases

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

View File

@@ -26,6 +26,14 @@ test_cases:
expected: [2, 4]
- input: { nums: [0, 4, 3, 0], target: 0 }
expected: [0, 3]
- input: { nums: [1, 2], target: 3 }
expected: [0, 1]
- input: { nums: [5, 75, 25], target: 100 }
expected: [1, 2]
- input: { nums: [1000000000, 1000000000], target: 2000000000 }
expected: [0, 1]
- input: { nums: [-3, 4, 3, 90], target: 0 }
expected: [0, 2]
description: |
Given an array of integers `nums` and an integer `target`, return *indices of the two numbers such that they add up to `target`*.