feat(content): hidden test cases
This commit is contained in:
@@ -27,6 +27,12 @@ test_cases:
|
||||
expected: false
|
||||
- input: { nums: [5, 4, 3, 2, 1, 0, 0] }
|
||||
expected: true
|
||||
- input: { nums: [1, 1, 1, 1, 1] }
|
||||
expected: true
|
||||
- input: { nums: [2, 0, 2, 0, 1] }
|
||||
expected: true
|
||||
- input: { nums: [1, 2, 3] }
|
||||
expected: true
|
||||
|
||||
description: |
|
||||
You are given an integer array `nums`. You are initially positioned at the array's **first index**, and each element in the array represents your maximum jump length at that position.
|
||||
|
||||
Reference in New Issue
Block a user