Trapping Rain Water

maxL: 0
res: 0
maxR: 0
L
index = 0
R
index = 0