feat(content): hidden test cases
This commit is contained in:
@@ -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*.
|
||||
|
||||
Reference in New Issue
Block a user