LeetCode - Trapping rain water
Problem statement
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.
Problem statement taken from: https://leetcode.com/problems/trapping-rain-water
Example ...
alkesh26.hashnode.dev6 min read