Water sitting above bar i is capped by min(leftMax, rightMax) - height[i].
The trick: whichever side has the smaller current wall is the side whose water level is
already fully determined — move that pointer and settle its column immediately.