Container With Most Water
摘要:
一开始暴力解决,时间没通过 1 class Solution { 2 public: 3 int maxArea(vector<int>& height) { 4 int maxArea=0,eachArea=0; 5 if(height.size()<2) return maxArea; 6 fo 阅读全文
posted @ 2016-02-24 22:03 RenewDo 阅读(170) 评论(0) 推荐(0) 编辑