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
相關文章
相關標籤/搜索