Trapping Rain Water Leetcode This question is taken by LeetCode. You can find question detail by the below link. Let’s write an optimized solution to this problem. Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Example 1: Input: height = […]

Read More →