摘要: 84. Largest Rectangle in Histogram(直方图最大面积 hard) 42. Trapping Rain Water(直方图 存水量 hard) 11. Container With Most Water(装最多的水 双指针) 阅读全文
posted @ 2018-04-02 11:20 乐乐章 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 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 endpo 阅读全文
posted @ 2018-04-02 11:15 乐乐章 阅读(336) 评论(1) 推荐(0) 编辑