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: 10
- input: { nums: [-1, -2, -3, -4] }
expected: -1
- input: { nums: [3, -2, 5, -1] }
expected: 6
- input: { nums: [-2, 1] }
expected: 1
- input: { nums: [8, -19, 5, -4, 20] }
expected: 21
description: |
Given an integer array `nums`, find the subarray with the largest sum, and return *its sum*.