[LeetCode]11.Container With Most Water

【題目】 Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of lineiis at (i,ai) and (i, 0). Find two lines,
相關文章
相關標籤/搜索