Could anyone explain why this problem is simialr to Trapping Rain Water


  • 0

    This link has posted a nice solution to this problem.

    But there is still a little problem that I cannot understand. In the "Show Similar Problems" below the problem statement, there is Trapping Rain Water. Could anyone give a explanation for the similarities between these two problems?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.