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

@@ -27,6 +27,12 @@ test_cases:
expected: 36
- input: { height: [1, 2, 4, 3] }
expected: 4
- input: { height: [1, 1, 1, 1, 1, 1, 1, 1] }
expected: 7
- input: { height: [10, 9, 8, 7, 6, 5, 4, 3, 2, 1] }
expected: 25
- input: { height: [1, 3, 2, 5, 25, 24, 5] }
expected: 24
description: |
You are given an integer array `height` of length `n`. There are `n` vertical lines drawn such that the two endpoints of the i<sup>th</sup> line are `(i, 0)` and `(i, height[i])`.