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,‘貪婪地’移動兩個指針,使
相關文章
相關標籤/搜索