Mental Model
Imagine bars of different heights and water trapped between them after rain. We want to find how much water stays trapped between these bars.
Analogy: Think of a row of buildings with different heights after rain. Water collects in the dips between taller buildings, like puddles trapped between walls.
Height bars: 3 0 2 0 4 Visual: 3 ↑ 2 ↑ 1 ↑ ↑ 0 ↑ ↑ ↑ 0 1 2 3 4 (index)
