Deep Dive
Trapping Rain Water
42. Trapping Rain Water · Arrays & Strings · 6 of 78
1/11
Rain on the bars
In this lessonStep 1 of 11 · ← → keys
The question
Given bar heights, compute how much rain water is trapped between them.
42. Trapping Rain Water · Arrays & Strings · 6 of 78
Rain on the bars
Given bar heights, compute how much rain water is trapped between them.