Skip to main content

One doc tagged with "rainwater"

View all tags

Trapped Rainwater

In this post, we'll explore a solution to the Trapped Rainwater problem, calculating how much rainwater can be held within a terrain represented by an elevation map using a dynamic programming approach.