AlgoMaster Logo

Trapping Rain Water

heights=[0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1]
0 / 35
00110223140516372819210111water = 0
algomaster.io
Step:Start of algorithm