Help to understand question

Getting confuse to understand question

Hey @krishnaSonavane the problem is simple, you are given n bar where width of each bar is 1 and height of each bar is given. rain%20water

as you can see in the image, if the bar on the left and on the right has height greater than the current bar than some water can stand there and your task is to find out maximum amount of water that can stand.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.