Largest Rectangle in Histogram待求
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram where width o
转载
2014-10-06 04:40:58 ·
250 阅读 ·
0 评论