LeetCode11-Container With Most Water

两点法,规定两点构建初始枚举范围,然后通过题目特点,移动(舍弃)其中一点,缩小枚举范围,直至不能继续枚举。比较过程中产生的结果值,得到正确答案。

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×