Trapping Water Problem Leetcode