摘要:
84. Largest Rectangle in Histogram(直方图最大面积 hard) 42. Trapping Rain Water(直方图 存水量 hard) 11. Container With Most Water(装最多的水 双指针) 阅读全文
摘要:
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 阅读全文