第12题leetcode原题,难度hard......
https://leetcode.com/problems/trapping-rain-water/description/
还有一个升级版,三维版本:
https://leetcode.com/problems/trapping-rain-water-ii/description/