[Leetcode] Trapping Rain Water
While the concept is two pointers converging from opposite sides, the implementation is more in a dp form.
Description
Given n
non-negative integers representing an elevation map where the width of each bar is 1
, compute how…