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