11. Container With Most Water

https://leetcode.com/problems/container-with-most-water/ 思路 https://leetcode.com/problems/container-with-most-water/discuss/6100/Simple-and-clear-proofexplanation 1. 以头尾两个柱子(指针)为baseline,‘贪婪地’移动两个指针,使
相关文章
相关标签/搜索