Algorithmic Muscle Excercise - Rain Water Trapping Problem In Rust
Water trapped along continuous extent of buildings of different heights:


Source: https://github.com/ratulb/algos_in_rust/blob/master/rain_water_trapping/src/lib.rs
Originally published on https://rbsomeg.blogspot.com