-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trapping Rain Water in Python #2129
Comments
def rain(arr): arr = [2, 0, 3, 0, 2, 0, 4] |
hey could you assign this issue to me will be happy to contribute |
assign me |
Hi Robinrai2612 could you assign this issue to me |
I wish to contribute. Kindly assign me this issue. |
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.
Input: height = [0,1,0,2,1,0,1,3,2,1,2,1]
Output: 6
Explanation: The above elevation map (black section) is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped.
"Hello @DHEERAJHARODE , could you kindly assign this issue to me for Hacktoberfest-2023? Thank you!"
The text was updated successfully, but these errors were encountered: