Trapping Rain Water Problem
Problem Statement The width of each and every bar on to an elevation map is 1. Determine how much water it can hold after it rains by computing the heights of the elevation map bars, which are represented by n non-negative integers. Example Input: Output: Example Explanation Representation of above input heights is given below in ...