WenJieWangFlyToWorld

导航

2017年5月27日 #

Leed code 11. Container With Most Water

摘要: 1 public int maxArea(int[] height) { 2 int left = 0, right = height.length - 1; 3 int maxArea = 0; 4 5 while (left < right) { 6 maxArea = Math.max(maxArea, Math.min(height[... 阅读全文

posted @ 2017-05-27 13:04 WenjieWangFlyToWorld 阅读(174) 评论(0) 推荐(0) 编辑