Open utterances-bot opened 2 years ago
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]).
https://blog.decorus.io/algorithm/leetcode/two%20pointer/2022/03/28/leetcode-container-with-most-water.html
Leetcode - Container With Most Water
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]).
https://blog.decorus.io/algorithm/leetcode/two%20pointer/2022/03/28/leetcode-container-with-most-water.html