feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 72f7833c6c
commit a1a4eeaed7
134 changed files with 2075 additions and 0 deletions

View File

@@ -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: