joeljsv / hacktober2021

Register for Hacktoberfest and make four pull requests (PRs) between October 1st-31st to grab free SWAGS
https://hacktoberfest.digitalocean.com/
7 stars 115 forks source link

Trapping rain water #139

Closed heenahmed closed 2 years ago

heenahmed commented 2 years ago

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. #49

heenahmed commented 2 years ago

Plz accept my PR