LeetCode-11~Container with Most Water

转自:https://www.jianshu.com/p/23e8e3e53abf Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of
相关文章
相关标签/搜索