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: 0
- input: { height: [5, 4, 1, 2] }
expected: 1
- input: { height: [2, 0, 2] }
expected: 2
- input: { height: [4, 2, 3] }
expected: 1
- input: { height: [5, 2, 1, 2, 1, 5] }
expected: 14
description: |
Given `n` non-negative integers representing an elevation map where the width of each bar is `1`, compute how much water it can trap after raining.