DSA
DSA copied to clipboard
Trapping Rain Water (in C++)
Trapping Rain Water
Problem : Given n non-negative integers representing an elevation map where the width of each bar is 1, algorithm computes how much water it can trap after raining. Type of Algorithm : Dynamic Programming & Vectors
Have you read the Contributing.md and Code of conduct
- [x] Yes
- [ ] No
Other context
This is a competitive platform problem: Leetcode
Thanks for opening your first issue here! Be sure to follow the issue template!
Please assign this issue to me, I would like to contribute to this issue raised by me.
Please approve my PR that I have raised. Thank you! Trapping Rain Water (in C++) #1060
can I add this algorithm ?