Fade to Solo
Two Pointers

Trapping Rain Water

NO NETHleetcode ↗

Problem

Given a row of bar heights, imagine rain falling on them. Work out how much water ends up trapped in the dips between bars once it settles.

NO NET00:00
no net — stays locked