Trapping Rain Water II | Leetcode 407