DIY: Trapping Rainwater
We'll cover the following
Problem statement
We have n
non-negative integers representing an elevation map where the width of each bar is 1
. Compute how much water it can trap after ...
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Devpath's Terms of Service and Privacy Policy