SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 132 forks source link

Trapping Rain Water #521

Closed YashGosaliya closed 2 years ago

YashGosaliya commented 2 years ago

Enter your question -

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.

Enter link to the question(if question belongs to any online platform) -

https://leetcode.com/problems/trapping-rain-water/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Dynamic Programming, Array

YashGosaliya commented 2 years ago

@SarthakKeshari please assign this issue

SarthakKeshari commented 2 years ago

@YashGosaliya, Go ahead, add your solution to "leetcode" folder. Deadline - 21/10/2021

arushi-2298 commented 2 years ago

plz assign it to me @SarthakKeshari