decorus-kazuma / blog.decorus.io

💁‍♂️ decorus-kazuma blog.
https://blog.decorus.io
MIT License
0 stars 0 forks source link

algorithm/leetcode/two%20pointer/2022/03/28/leetcode-container-with-most-water #5

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

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