摘要: 42. Trapping Rain Water we need to find how many waters can each bar[i] trap. So we need to find the left peak from barto bar[i-1] and find the right 阅读全文
posted @ 2020-01-23 06:09 心怀阳光 阅读(104) 评论(0) 推荐(0) 编辑