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

@@ -26,6 +26,12 @@ test_cases:
expected: 1
- input: { nums: [1, -1, 0], k: 0 }
expected: 3
- input: { nums: [3, 4, 7, 2, -3, 1, 4, 2], k: 7 }
expected: 4
- input: { nums: [0, 0, 0, 0], k: 0 }
expected: 10
- input: { nums: [1, 2, 3], k: 6 }
expected: 1
description: |
Given an array of integers `nums` and an integer `k`, return *the total number of subarrays whose sum equals to* `k`.