Trapping Rainwater Problem | Leetcode #42