For this test:
I thought for 4,8,10, it can respectively store water 9,4,2, so it's 15 in total.
Why is the answer 14?
Could someone explain?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.