摘要:
[抄题]: 水平面上有 N 座大楼,每座大楼都是矩阵的形状,可以用一个三元组表示 (start, end, height),分别代表其在x轴上的起点,终点和高度。大楼之间从远处看可能会重叠,求出 N 座大楼的外轮廓线。 外轮廓线的表示方法为若干三元组,每个三元组包含三个数字 (start, end, 阅读全文
posted @ 2018-02-28 21:53
苗妙苗
阅读(441)
评论(0)
推荐(0)
摘要:
[抄题]: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after ra 阅读全文
posted @ 2018-02-28 09:30
苗妙苗
阅读(254)
评论(0)
推荐(0)

浙公网安备 33010602011771号