Trapping Rain Water Algorithm

A storm drain, storm sewer (unite Kingdom, America and Canada), surface water drain / sewer (unite Kingdom), or stormwater drain (Australia and New Zealand)Many storm drainage systems are gravity sewers that drain untreated storm water into rivers or streams — so it is unacceptable to pour hazardous substances into the drains. Other examples of early civilizations with components of stormwater drain systems include early people of Mainland Orkney such as Gurness and the Brough of Birsay in Scotland. For example, in Minoan Crete around 2000 BC, city such as Phaistos were designed to have storm drains and channels to collect precipitation runoff. At Cretan Knossos, storm drains include stone-lined structures large enough for a person to crawl through.

Trapping Rain Water source code, pseudocode and analysis