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 of
转载
2013-10-21 21:02:48 ·
542 阅读 ·
0 评论