What is the difference between problem11 and problem 84?

  • 0

    Can someone tell me the difference?

  • 0

    I thought they were the same at first too. But then realized that in this problem, the rectangle between i and j have height min{x_k} where k ranges from i to j, while in 11 the height is min{x_i,x_j}.

Log in to reply

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