feat(content): hidden test cases
This commit is contained in:
@@ -28,6 +28,12 @@ test_cases:
|
||||
expected: 1
|
||||
- input: { nums: [5, 1, 2, 3, 4] }
|
||||
expected: 1
|
||||
- input: { nums: [2, 3, 4, 5, 1] }
|
||||
expected: 1
|
||||
- input: { nums: [3, 4, 5, 6, 7, 1, 2] }
|
||||
expected: 1
|
||||
- input: { nums: [10, 20, 30, 40, 5] }
|
||||
expected: 5
|
||||
|
||||
description: |
|
||||
Suppose an array of length `n` sorted in ascending order is **rotated** between `1` and `n` times. For example, the array `nums = [0,1,2,4,5,6,7]` might become:
|
||||
|
||||
Reference in New Issue
Block a user